Update ava to 4.3.3
The [release notes](https://github.com/avajs/ava/releases/tag/v4.3.3) mention compatibility with Node 18.8.
This commit is contained in:
parent
21530f507f
commit
bea5e4b220
160 changed files with 2647 additions and 2263 deletions
19
node_modules/convert-to-spaces/readme.md
generated
vendored
19
node_modules/convert-to-spaces/readme.md
generated
vendored
|
|
@ -1,34 +1,31 @@
|
|||
# convert-to-spaces [](https://travis-ci.org/vadimdemedes/convert-to-spaces)
|
||||
# convert-to-spaces [](https://github.com/vadimdemedes/convert-to-spaces/actions)
|
||||
|
||||
> Convert tabs to spaces in a string
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save convert-to-spaces
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
const convertToSpaces = require('convert-to-spaces');
|
||||
import convertToSpaces from 'convert-to-spaces';
|
||||
|
||||
convertToSpaces('\t\thello!');
|
||||
//=> ' hello!'
|
||||
```
|
||||
|
||||
|
||||
## API
|
||||
|
||||
### convertToSpaces(str, [spaces])
|
||||
### convertToSpaces(input, [spaces])
|
||||
|
||||
#### str
|
||||
#### input
|
||||
|
||||
Type: `string`
|
||||
|
||||
Source string.
|
||||
String to convert.
|
||||
|
||||
#### spaces
|
||||
|
||||
|
|
@ -37,12 +34,6 @@ Default: `2`
|
|||
|
||||
Number of spaces instead of each tab.
|
||||
|
||||
|
||||
## Related
|
||||
|
||||
- [convert-to-tabs](https://github.com/vadimdemedes/convert-to-tabs) - Convert spaces to tabs.
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Vadim Demedes](https://vadimdemedes.com)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue