| 1 |
{ |
| 2 |
"_id": "redent", |
| 3 |
"_rev": "3-d50df6f73beec9eede7c8801664a68ec", |
| 4 |
"name": "redent", |
| 5 |
"description": "Strip redundant indentation and indent the string", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "3.0.0" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"1.0.0": { |
| 11 |
"name": "redent", |
| 12 |
"version": "1.0.0", |
| 13 |
"description": "Strip redundant indentation and indent the string", |
| 14 |
"license": "MIT", |
| 15 |
"repository": { |
| 16 |
"type": "git", |
| 17 |
"url": "https://github.com/sindresorhus/redent" |
| 18 |
}, |
| 19 |
"author": { |
| 20 |
"name": "Sindre Sorhus", |
| 21 |
"email": "[email protected]", |
| 22 |
"url": "sindresorhus.com" |
| 23 |
}, |
| 24 |
"engines": { |
| 25 |
"node": ">=0.10.0" |
| 26 |
}, |
| 27 |
"scripts": { |
| 28 |
"test": "xo && ava" |
| 29 |
}, |
| 30 |
"files": [ |
| 31 |
"index.js" |
| 32 |
], |
| 33 |
"keywords": [ |
| 34 |
"string", |
| 35 |
"str", |
| 36 |
"strip", |
| 37 |
"trim", |
| 38 |
"indent", |
| 39 |
"indentation", |
| 40 |
"add", |
| 41 |
"reindent", |
| 42 |
"normalize", |
| 43 |
"remove", |
| 44 |
"whitespace", |
| 45 |
"space" |
| 46 |
], |
| 47 |
"dependencies": { |
| 48 |
"indent-string": "^2.1.0", |
| 49 |
"strip-indent": "^1.0.1" |
| 50 |
}, |
| 51 |
"devDependencies": { |
| 52 |
"ava": "*", |
| 53 |
"xo": "*" |
| 54 |
}, |
| 55 |
"gitHead": "97d9db1dbd5894fe1b14e01040da283b8d53409d", |
| 56 |
"bugs": { |
| 57 |
"url": "https://github.com/sindresorhus/redent/issues" |
| 58 |
}, |
| 59 |
"homepage": "https://github.com/sindresorhus/redent", |
| 60 |
"_id": "[email protected]", |
| 61 |
"_shasum": "cf916ab1fd5f1f16dfb20822dd6ec7f730c2afde", |
| 62 |
"_from": ".", |
| 63 |
"_npmVersion": "2.14.4", |
| 64 |
"_nodeVersion": "4.1.1", |
| 65 |
"_npmUser": { |
| 66 |
"name": "sindresorhus", |
| 67 |
"email": "[email protected]" |
| 68 |
}, |
| 69 |
"dist": { |
| 70 |
"shasum": "cf916ab1fd5f1f16dfb20822dd6ec7f730c2afde", |
| 71 |
"tarball": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz" |
| 72 |
}, |
| 73 |
"maintainers": [ |
| 74 |
{ |
| 75 |
"name": "sindresorhus", |
| 76 |
"email": "[email protected]" |
| 77 |
} |
| 78 |
], |
| 79 |
"directories": {} |
| 80 |
}, |
| 81 |
"2.0.0": { |
| 82 |
"name": "redent", |
| 83 |
"version": "2.0.0", |
| 84 |
"description": "Strip redundant indentation and indent the string", |
| 85 |
"license": "MIT", |
| 86 |
"repository": { |
| 87 |
"type": "git", |
| 88 |
"url": "git+https://github.com/sindresorhus/redent.git" |
| 89 |
}, |
| 90 |
"author": { |
| 91 |
"name": "Sindre Sorhus", |
| 92 |
"email": "[email protected]", |
| 93 |
"url": "sindresorhus.com" |
| 94 |
}, |
| 95 |
"engines": { |
| 96 |
"node": ">=4" |
| 97 |
}, |
| 98 |
"scripts": { |
| 99 |
"test": "xo && ava" |
| 100 |
}, |
| 101 |
"files": [ |
| 102 |
"index.js" |
| 103 |
], |
| 104 |
"keywords": [ |
| 105 |
"string", |
| 106 |
"str", |
| 107 |
"strip", |
| 108 |
"trim", |
| 109 |
"indent", |
| 110 |
"indentation", |
| 111 |
"add", |
| 112 |
"reindent", |
| 113 |
"normalize", |
| 114 |
"remove", |
| 115 |
"whitespace", |
| 116 |
"space" |
| 117 |
], |
| 118 |
"dependencies": { |
| 119 |
"indent-string": "^3.0.0", |
| 120 |
"strip-indent": "^2.0.0" |
| 121 |
}, |
| 122 |
"devDependencies": { |
| 123 |
"ava": "*", |
| 124 |
"xo": "*" |
| 125 |
}, |
| 126 |
"xo": { |
| 127 |
"esnext": true |
| 128 |
}, |
| 129 |
"gitHead": "90d90c6fe45eb7d5fa317c50af03ebac1b7b281f", |
| 130 |
"bugs": { |
| 131 |
"url": "https://github.com/sindresorhus/redent/issues" |
| 132 |
}, |
| 133 |
"homepage": "https://github.com/sindresorhus/redent#readme", |
| 134 |
"_id": "[email protected]", |
| 135 |
"_shasum": "c1b2007b42d57eb1389079b3c8333639d5e1ccaa", |
| 136 |
"_from": ".", |
| 137 |
"_npmVersion": "2.15.5", |
| 138 |
"_nodeVersion": "4.4.5", |
| 139 |
"_npmUser": { |
| 140 |
"name": "sindresorhus", |
| 141 |
"email": "[email protected]" |
| 142 |
}, |
| 143 |
"dist": { |
| 144 |
"shasum": "c1b2007b42d57eb1389079b3c8333639d5e1ccaa", |
| 145 |
"tarball": "https://registry.npmjs.org/redent/-/redent-2.0.0.tgz" |
| 146 |
}, |
| 147 |
"maintainers": [ |
| 148 |
{ |
| 149 |
"name": "sindresorhus", |
| 150 |
"email": "[email protected]" |
| 151 |
} |
| 152 |
], |
| 153 |
"_npmOperationalInternal": { |
| 154 |
"host": "packages-16-east.internal.npmjs.com", |
| 155 |
"tmp": "tmp/redent-2.0.0.tgz_1468188510556_0.9630645732395351" |
| 156 |
}, |
| 157 |
"directories": {} |
| 158 |
}, |
| 159 |
"3.0.0": { |
| 160 |
"name": "redent", |
| 161 |
"version": "3.0.0", |
| 162 |
"description": "Strip redundant indentation and indent the string", |
| 163 |
"license": "MIT", |
| 164 |
"repository": { |
| 165 |
"type": "git", |
| 166 |
"url": "git+https://github.com/sindresorhus/redent.git" |
| 167 |
}, |
| 168 |
"author": { |
| 169 |
"name": "Sindre Sorhus", |
| 170 |
"email": "[email protected]", |
| 171 |
"url": "sindresorhus.com" |
| 172 |
}, |
| 173 |
"engines": { |
| 174 |
"node": ">=8" |
| 175 |
}, |
| 176 |
"scripts": { |
| 177 |
"test": "xo && ava && tsd" |
| 178 |
}, |
| 179 |
"keywords": [ |
| 180 |
"string", |
| 181 |
"strip", |
| 182 |
"trim", |
| 183 |
"indent", |
| 184 |
"indentation", |
| 185 |
"add", |
| 186 |
"reindent", |
| 187 |
"normalize", |
| 188 |
"remove", |
| 189 |
"whitespace", |
| 190 |
"space" |
| 191 |
], |
| 192 |
"dependencies": { |
| 193 |
"indent-string": "^4.0.0", |
| 194 |
"strip-indent": "^3.0.0" |
| 195 |
}, |
| 196 |
"devDependencies": { |
| 197 |
"ava": "^1.4.1", |
| 198 |
"tsd": "^0.7.2", |
| 199 |
"xo": "^0.24.0" |
| 200 |
}, |
| 201 |
"gitHead": "3c13601b64ced8957f15b6a4c288afcc97a2f402", |
| 202 |
"bugs": { |
| 203 |
"url": "https://github.com/sindresorhus/redent/issues" |
| 204 |
}, |
| 205 |
"homepage": "https://github.com/sindresorhus/redent#readme", |
| 206 |
"_id": "[email protected]", |
| 207 |
"_nodeVersion": "10.15.3", |
| 208 |
"_npmVersion": "6.9.0", |
| 209 |
"_npmUser": { |
| 210 |
"name": "sindresorhus", |
| 211 |
"email": "[email protected]" |
| 212 |
}, |
| 213 |
"dist": { |
| 214 |
"integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", |
| 215 |
"shasum": "e557b7998316bb53c9f1f56fa626352c6963059f", |
| 216 |
"tarball": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", |
| 217 |
"fileCount": 5, |
| 218 |
"unpackedSize": 3599, |
| 219 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwqdhCRA9TVsSAnZWagAAhTQP/iMV3aVn9U3yi574p2v/\nVfaS5GpMhBUmmOYqWlK1JNMCydq5T9oFPyN3MSXPWX89NXXFL/YDQ5ApgFv6\nUvZNFqZ3StFp2v+6vEjNjJxgXmY+O3MsSEg44Hly7k4cy+8kjNOiKTEBZbjB\nmgyFAhHcdvFp2k5wQ8fnqsNypkgAYbs0/v9VXFL8EUa6R2UAML5ZhLKOF98K\nW3HuOK6c86I7eJAMscgMw7reVSkU5Gswip7vJL9FocoZdQPGSluY9YIUHvqd\nWc8254GzEFppe24mj0DhFAvEhNPmOpnFnYj5te/om2BZkntW7kK8DSlMzRrv\nGSEC3kXeV3IdVjhvU+qWsTgbSbrqiwRW75eBjHDiuuGYrmZ5TvAmkyNItr5K\nNDp1cX4m4/oya3Hv2mI1guN0dLY0gxAs0Q9PZUXVtHktyXbTpe8N+DtCp/LX\nHQtK3YpHpGBjmlx8nd7Gfkk5Oxyo+d6b+nGm2MLDGQQVMnqw8WFIsjEhV8vx\ny1kJx1Yfwb7R+d29pn5AHmyE1gi8o0lFQcU/qyHVyrm8B6MFkK1zdMX7RNF2\n+AODxu773DJYVIqFFlbrdZLeK9oWh6+c6h61deVIV/zmlcNl+dH5BGnaz8NS\ncDDDXk+QxINOdmYnAoMM3ZeFF7SSA9DP+iABNIVv8Hi/fy1PE9oYK6f7oPBk\npJWC\r\n=9NvM\r\n-----END PGP SIGNATURE-----\r\n" |
| 220 |
}, |
| 221 |
"maintainers": [ |
| 222 |
{ |
| 223 |
"name": "sindresorhus", |
| 224 |
"email": "[email protected]" |
| 225 |
} |
| 226 |
], |
| 227 |
"directories": {}, |
| 228 |
"_npmOperationalInternal": { |
| 229 |
"host": "s3://npm-registry-packages", |
| 230 |
"tmp": "tmp/redent_3.0.0_1556260705251_0.1406445244526373" |
| 231 |
}, |
| 232 |
"_hasShrinkwrap": false |
| 233 |
} |
| 234 |
}, |
| 235 |
"readme": "# redent [](https://travis-ci.org/sindresorhus/redent)\n\n> [Strip redundant indentation](https://github.com/sindresorhus/strip-indent) and [indent the string](https://github.com/sindresorhus/indent-string)\n\n\n## Install\n\n```\n$ npm install redent\n```\n\n\n## Usage\n\n```js\nconst redent = require('redent');\n\nredent('\\n foo\\n bar\\n', 1);\n//=> '\\n foo\\n bar\\n'\n```\n\n\n## API\n\n### redent(string, [count], [options])\n\n#### string\n\nType: `string`\n\nThe string to normalize indentation.\n\n#### count\n\nType: `number`<br>\nDefault: `0`\n\nHow many times you want `options.indent` repeated.\n\n#### options\n\nType: `object`\n\n##### indent\n\nType: `string`<br>\nDefault: `' '`\n\nThe string to use for the indent.\n\n##### includeEmptyLines\n\nType: `boolean`<br>\nDefault: `false`\n\nAlso indent empty lines.\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n", |
| 236 |
"maintainers": [ |
| 237 |
{ |
| 238 |
"name": "sindresorhus", |
| 239 |
"email": "[email protected]" |
| 240 |
} |
| 241 |
], |
| 242 |
"time": { |
| 243 |
"modified": "2019-04-26T06:38:27.843Z", |
| 244 |
"created": "2015-09-29T10:54:47.673Z", |
| 245 |
"1.0.0": "2015-09-29T10:54:47.673Z", |
| 246 |
"2.0.0": "2016-07-10T22:08:32.052Z", |
| 247 |
"3.0.0": "2019-04-26T06:38:25.407Z" |
| 248 |
}, |
| 249 |
"homepage": "https://github.com/sindresorhus/redent#readme", |
| 250 |
"keywords": [ |
| 251 |
"string", |
| 252 |
"strip", |
| 253 |
"trim", |
| 254 |
"indent", |
| 255 |
"indentation", |
| 256 |
"add", |
| 257 |
"reindent", |
| 258 |
"normalize", |
| 259 |
"remove", |
| 260 |
"whitespace", |
| 261 |
"space" |
| 262 |
], |
| 263 |
"repository": { |
| 264 |
"type": "git", |
| 265 |
"url": "git+https://github.com/sindresorhus/redent.git" |
| 266 |
}, |
| 267 |
"author": { |
| 268 |
"name": "Sindre Sorhus", |
| 269 |
"email": "[email protected]", |
| 270 |
"url": "sindresorhus.com" |
| 271 |
}, |
| 272 |
"bugs": { |
| 273 |
"url": "https://github.com/sindresorhus/redent/issues" |
| 274 |
}, |
| 275 |
"license": "MIT", |
| 276 |
"readmeFilename": "readme.md" |
| 277 |
} |