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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
{
"_args": [
[
{
"raw": "trim@0.0.1",
"scope": null,
"escapedName": "trim",
"name": "trim",
"rawSpec": "0.0.1",
"spec": "0.0.1",
"type": "version"
},
"j:\\temp\\_git\\node-fork\\tools\\eslint\\node_modules\\remark-parse"
]
],
"_from": "trim@0.0.1",
"_id": "trim@0.0.1",
"_inCache": true,
"_location": "/trim",
"_npmUser": {
"name": "tjholowaychuk",
"email": "tj@vision-media.ca"
},
"_npmVersion": "1.2.2",
"_phantomChildren": {},
"_requested": {
"raw": "trim@0.0.1",
"scope": null,
"escapedName": "trim",
"name": "trim",
"rawSpec": "0.0.1",
"spec": "0.0.1",
"type": "version"
},
"_requiredBy": [
"/remark-parse"
],
"_resolved": "https://registry.npmjs.org/trim/-/trim-0.0.1.tgz",
"_shasum": "5858547f6b290757ee95cccc666fb50084c460dd",
"_shrinkwrap": null,
"_spec": "trim@0.0.1",
"_where": "j:\\temp\\_git\\node-fork\\tools\\eslint\\node_modules\\remark-parse",
"author": {
"name": "TJ Holowaychuk",
"email": "tj@vision-media.ca"
},
"component": {
"scripts": {
"trim/index.js": "index.js"
}
},
"dependencies": {},
"description": "Trim string whitespace",
"devDependencies": {
"mocha": "*",
"should": "*"
},
"directories": {},
"dist": {
"shasum": "5858547f6b290757ee95cccc666fb50084c460dd",
"tarball": "https://registry.npmjs.org/trim/-/trim-0.0.1.tgz"
},
"keywords": [
"string",
"trim"
],
"main": "index",
"maintainers": [
{
"name": "tjholowaychuk",
"email": "tj@vision-media.ca"
}
],
"name": "trim",
"optionalDependencies": {},
"readme": "\n# trim\n\n Trims string whitespace.\n\n## Installation\n\n```\n$ npm install trim\n$ component install component/trim\n```\n\n## API\n\n - [trim(str)](#trimstr)\n - [.left(str)](#leftstr)\n - [.right(str)](#rightstr)\n<a name=\"\" />\n \n<a name=\"trimstr\" />\n### trim(str)\nshould trim leading / trailing whitespace.\n\n```js\ntrim(' foo bar ').should.equal('foo bar');\ntrim('\\n\\n\\nfoo bar\\n\\r\\n\\n').should.equal('foo bar');\n```\n\n<a name=\"leftstr\" />\n### .left(str)\nshould trim leading whitespace.\n\n```js\ntrim.left(' foo bar ').should.equal('foo bar ');\n```\n\n<a name=\"rightstr\" />\n### .right(str)\nshould trim trailing whitespace.\n\n```js\ntrim.right(' foo bar ').should.equal(' foo bar');\n```\n\n\n## License \n\n(The MIT License)\n\nCopyright (c) 2012 TJ Holowaychuk <tj@vision-media.ca>\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
"readmeFilename": "Readme.md",
"version": "0.0.1"
}
|