107 lines
3.8 KiB
JSON
107 lines
3.8 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "indent-string@^3.0.0",
|
|
"scope": null,
|
|
"escapedName": "indent-string",
|
|
"name": "indent-string",
|
|
"rawSpec": "^3.0.0",
|
|
"spec": ">=3.0.0 <4.0.0",
|
|
"type": "range"
|
|
},
|
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/react-native-scripts"
|
|
]
|
|
],
|
|
"_from": "indent-string@>=3.0.0 <4.0.0",
|
|
"_id": "indent-string@3.2.0",
|
|
"_inCache": true,
|
|
"_location": "/indent-string",
|
|
"_nodeVersion": "4.8.3",
|
|
"_npmOperationalInternal": {
|
|
"host": "s3://npm-registry-packages",
|
|
"tmp": "tmp/indent-string-3.2.0.tgz_1500831460303_0.7046717412304133"
|
|
},
|
|
"_npmUser": {
|
|
"name": "sindresorhus",
|
|
"email": "sindresorhus@gmail.com"
|
|
},
|
|
"_npmVersion": "2.15.11",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "indent-string@^3.0.0",
|
|
"scope": null,
|
|
"escapedName": "indent-string",
|
|
"name": "indent-string",
|
|
"rawSpec": "^3.0.0",
|
|
"spec": ">=3.0.0 <4.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/react-native-scripts",
|
|
"/xdl"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz",
|
|
"_shasum": "4a5fd6d27cc332f37e5419a504dbb837105c9289",
|
|
"_shrinkwrap": null,
|
|
"_spec": "indent-string@^3.0.0",
|
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/react-native-scripts",
|
|
"author": {
|
|
"name": "Sindre Sorhus",
|
|
"email": "sindresorhus@gmail.com",
|
|
"url": "sindresorhus.com"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/sindresorhus/indent-string/issues"
|
|
},
|
|
"dependencies": {},
|
|
"description": "Indent each line in a string",
|
|
"devDependencies": {
|
|
"ava": "*",
|
|
"xo": "*"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"shasum": "4a5fd6d27cc332f37e5419a504dbb837105c9289",
|
|
"tarball": "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz"
|
|
},
|
|
"engines": {
|
|
"node": ">=4"
|
|
},
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"gitHead": "458eca3f626b95bdcff5afe30d1568bf76889920",
|
|
"homepage": "https://github.com/sindresorhus/indent-string#readme",
|
|
"keywords": [
|
|
"indent",
|
|
"string",
|
|
"str",
|
|
"pad",
|
|
"align",
|
|
"line",
|
|
"text",
|
|
"each",
|
|
"every"
|
|
],
|
|
"license": "MIT",
|
|
"maintainers": [
|
|
{
|
|
"name": "sindresorhus",
|
|
"email": "sindresorhus@gmail.com"
|
|
}
|
|
],
|
|
"name": "indent-string",
|
|
"optionalDependencies": {},
|
|
"readme": "# indent-string [![Build Status](https://travis-ci.org/sindresorhus/indent-string.svg?branch=master)](https://travis-ci.org/sindresorhus/indent-string)\n\n> Indent each line in a string\n\n\n## Install\n\n```\n$ npm install indent-string\n```\n\n\n## Usage\n\n```js\nconst indentString = require('indent-string');\n\nindentString('Unicorns\\nRainbows', 4);\n//=> ' Unicorns'\n//=> ' Rainbows'\n\nindentString('Unicorns\\nRainbows', 4, {indent: '♥'});\n//=> '♥♥♥♥Unicorns'\n//=> '♥♥♥♥Rainbows'\n```\n\n\n## API\n\n### indentString(input, [count], [options])\n\n#### input\n\nType: `string`\n\nString you want to indent.\n\n#### count\n\nType: `number`<br>\nDefault: `1`\n\nHow many times you want `indent` repeated.\n\n#### options\n\nType: `Object`<br>\n\n##### indent\n\nType: `string`<br>\nDefault: `' '`\n\nString to use for the indent.\n\n##### includeEmptyLines\n\nType: `boolean`<br>\nDefault: `false`\n\nAlso indent empty lines.\n\n\n## Related\n\n- [indent-string-cli](https://github.com/sindresorhus/indent-string-cli) - CLI for this module\n- [strip-indent](https://github.com/sindresorhus/strip-indent) - Strip leading whitespace from every line in a string\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
|
|
"readmeFilename": "readme.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/sindresorhus/indent-string.git"
|
|
},
|
|
"scripts": {
|
|
"test": "xo && ava"
|
|
},
|
|
"version": "3.2.0"
|
|
}
|