-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
43 lines (43 loc) · 1.91 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"name": "shell-quote",
"version": "0.0.1",
"description": "quote and parse shell commands",
"main": "index.js",
"directories": {
"example": "example",
"test": "test"
},
"devDependencies": {
"tap": "~0.2.5"
},
"scripts": {
"test": "tap test"
},
"repository": {
"type": "git",
"url": "http://github.com/substack/node-shell-quote.git"
},
"keywords": [
"shell",
"command",
"quote",
"parse"
],
"author": {
"name": "James Halliday",
"email": "mail@substack.net",
"url": "http://substack.net"
},
"license": "MIT",
"engine": {
"node": ">=0.4"
},
"readme": "shell-quote\n===========\n\nParse and quote shell commands.\n\n[![build status](https://secure.travis-ci.org/substack/node-shell-quote.png)](http://travis-ci.org/substack/node-shell-quote)\n\nexample\n=======\n\nquote\n-----\n\n``` js\nvar quote = require('shell-quote').quote;\nvar s = quote([ 'a', 'b c d', '$f', '\"g\"' ]);\nconsole.log(s);\n```\n\noutput\n\n```\na 'b c d' \\$f '\"g\"'\n```\n\nparse\n-----\n\n``` js`\nvar parse = require('shell-quote').parse;\nvar xs = parse('a \"b c\" \\\\$def \\'it\\\\\\'s great\\'');\nconsole.dir(xs);\n```\n\noutput\n\n```\n[ 'a', 'b c', '\\\\$def', 'it\\'s great' ]\n```\n\nmethods\n=======\n\n``` js\nvar quote = require('shell-quote').quote;\nvar parse = require('shell-quote').parse;\n```\n\nquote(args)\n-----------\n\nReturn a quoted string for the array `args` suitable for using in shell\ncommands.\n\nparse(cmd)\n----------\n\nReturn an array of arguments from the quoted string `cmd`.\n\ninstall\n=======\n\nWith [npm](http://npmjs.org) do:\n\n```\nnpm install shell-quote\n```\n\nlicense\n=======\n\nMIT\n",
"readmeFilename": "README.markdown",
"bugs": {
"url": "https://github.com/substack/node-shell-quote/issues"
},
"homepage": "https://github.com/substack/node-shell-quote",
"_id": "shell-quote@0.0.1",
"_from": "shell-quote@~0.0.1"
}