mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-21 05:24:45 +00:00
.
This commit is contained in:
parent
fc725ba36b
commit
422b9fdb15
7395 changed files with 1786235 additions and 3476 deletions
19
node_modules/shellwords/README.md
generated
vendored
Normal file
19
node_modules/shellwords/README.md
generated
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Shellwords
|
||||
|
||||
Shellwords provides functions to manipulate strings according to the word parsing rules of the UNIX Bourne shell. It is based on [the Ruby module of the same name](http://www.ruby-doc.org/stdlib-1.9.3/libdoc/shellwords/rdoc/Shellwords.html).
|
||||
|
||||
## Installation
|
||||
|
||||
Add "shellwords" to your `package.json` file and run `npm install`.
|
||||
|
||||
## Example
|
||||
|
||||
``` javascript
|
||||
var shellwords = require("shellwords");
|
||||
|
||||
shellwords.split("foo 'bar baz'");
|
||||
// ["foo", "bar baz"]
|
||||
|
||||
shellwords.escape("What's up, yo?");
|
||||
// 'What\\\'s\\ up,\\ yo\\?'
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue