motion
Version:
motion - moving development forward
84 lines (83 loc) • 3.1 kB
JSON
{
"_args": [
[
"strip-indent@https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz",
"/Users/nw/flint/packages/flint"
]
],
"_from": "strip-indent@>=1.0.1 <2.0.0",
"_id": "strip-indent@1.0.1",
"_inCache": true,
"_location": "/strip-indent",
"_phantomChildren": {},
"_requested": {
"name": "strip-indent",
"raw": "strip-indent@https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz",
"rawSpec": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz",
"scope": null,
"spec": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz",
"type": "remote"
},
"_requiredBy": [
"/redent"
],
"_resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz",
"_shasum": "0c7962a6adefa7bbd4ac366460a638552ae1a0a2",
"_shrinkwrap": null,
"_spec": "strip-indent@https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz",
"_where": "/Users/nw/flint/packages/flint",
"author": {
"email": "sindresorhus@gmail.com",
"name": "Sindre Sorhus",
"url": "http://sindresorhus.com"
},
"bin": {
"strip-indent": "cli.js"
},
"bugs": {
"url": "https://github.com/sindresorhus/strip-indent/issues"
},
"dependencies": {
"get-stdin": "^4.0.1"
},
"description": "Strip leading whitespace from every line in a string",
"devDependencies": {
"mocha": "*"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"cli.js",
"index.js"
],
"homepage": "https://github.com/sindresorhus/strip-indent#readme",
"keywords": [
"bin",
"browser",
"cli",
"indent",
"indentation",
"normalize",
"remove",
"space",
"str",
"string",
"strip",
"tab",
"whitespace"
],
"license": "MIT",
"name": "strip-indent",
"optionalDependencies": {},
"readme": "# strip-indent [](https://travis-ci.org/sindresorhus/strip-indent)\n\n> Strip leading whitespace from every line in a string\n\nThe line with the least number of leading whitespace, ignoring empty lines, determines the number to remove.\n\nUseful for removing redundant indentation.\n\n\n## Install\n\n```sh\n$ npm install --save strip-indent\n```\n\n\n## Usage\n\n```js\nvar str = '\\tunicorn\\n\\t\\tcake';\n/*\n\tunicorn\n\t\tcake\n*/\n\nstripIndent('\\tunicorn\\n\\t\\tcake');\n/*\nunicorn\n\tcake\n*/\n```\n\n\n## CLI\n\n```sh\n$ npm install --global strip-indent\n```\n\n```sh\n$ strip-indent --help\n\n Usage\n strip-indent <file>\n echo <string> | strip-indent\n\n Example\n echo '\\tunicorn\\n\\t\\tcake' | strip-indent\n unicorn\n \tcake\n```\n\n\n## Related\n\n- [indent-string](https://github.com/sindresorhus/indent-string) - Indent each line in a string\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
"readmeFilename": "readme.md",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/strip-indent.git"
},
"scripts": {
"test": "mocha"
},
"version": "1.0.1"
}