initial commit of actions
This commit is contained in:
commit
949ece5785
44660 changed files with 12034344 additions and 0 deletions
39
github/codeql-action-v2/node_modules/convert-to-spaces/readme.md
generated
vendored
Normal file
39
github/codeql-action-v2/node_modules/convert-to-spaces/readme.md
generated
vendored
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# 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
|
||||
import convertToSpaces from 'convert-to-spaces';
|
||||
|
||||
convertToSpaces('\t\thello!');
|
||||
//=> ' hello!'
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
### convertToSpaces(input, [spaces])
|
||||
|
||||
#### input
|
||||
|
||||
Type: `string`
|
||||
|
||||
String to convert.
|
||||
|
||||
#### spaces
|
||||
|
||||
Type: `number`<br>
|
||||
Default: `2`
|
||||
|
||||
Number of spaces instead of each tab.
|
||||
|
||||
## Related
|
||||
|
||||
- [convert-to-tabs](https://github.com/vadimdemedes/convert-to-tabs) - Convert spaces to tabs.
|
||||
Loading…
Add table
Add a link
Reference in a new issue