{"_id":"indent-string@6.0.0","bugs":{"url":"https://github.com/sindresorhus/indent-string/issues"},"dist":{"shasum":"4670b56f34d8cdc27c3a9961365a262ca932fd90","tarball":"http://registry-npm.ywwl.com/indent-string/download/indent-string-6.0.0.tgz","fileCount":5,"integrity":"sha512-ZMCYzmA/BncvpLUiwm2fWEpw885/IVMse/dB+VfxiRNmRWjO2Oj0BJYFhcT9ov5xbpYZwynBu3tl6RT5CJP2Ag==","signatures":[{"sig":"MEYCIQDNdCqo3s5AmcB9HqkYs6dsxCvh8lGkS4Vnsn2a2aMHcAIhAOy7tMNvZqY1ZtJb0PmfFkYDKkU/shv7ofdO5IcDegFz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBRtK7KikeOd2ZaM0gmyclMF868U/KXS6fdavO69th09AiEA9+3Ax9gYN2okCnkL6YAWAlWYKru3QdjnswsIYJCcgoY="}],"unpackedSize":4956,"size":2321,"noattachment":false,"key":"/indent-string/-/indent-string-6.0.0.tgz"},"name":"indent-string","type":"module","types":"./index.d.ts","author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"engines":{"node":">=22"},"exports":{"types":"./index.d.ts","default":"./index.js"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"4d37be9198352c1ff458e377d60a88797f0cd666","license":"MIT","scripts":{"test":"xo && node --test"},"version":"6.0.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"homepage":"https://github.com/sindresorhus/indent-string#readme","keywords":["indent","string","pad","align","line","text","each","every"],"repository":{"url":"git+https://github.com/sindresorhus/indent-string.git","type":"git"},"_npmVersion":"12.2.0","description":"Indent each line in a string","directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"sideEffects":false,"_nodeVersion":"26.12.1","_hasShrinkwrap":false,"devDependencies":{"xo":"^5.0.1"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/indent-string_6.0.0_1794760975795_0.01804218431804272"},"readme":"# indent-string\n\n> Indent each line in a string\n\n## Install\n\n```sh\nnpm install indent-string\n```\n\n## Usage\n\n```js\nimport indentString from 'indent-string';\n\nindentString('Unicorns\\nRainbows', 4);\n//=> '    Unicorns\\n    Rainbows'\n\nindentString('Unicorns\\nRainbows', 4, {indent: '♥'});\n//=> '♥♥♥♥Unicorns\\n♥♥♥♥Rainbows'\n```\n\n## API\n\n### indentString(string, count?, options?)\n\n#### string\n\nType: `string`\n\nThe string to indent.\n\n#### count\n\nType: `number`\\\nDefault: `1`\n\nHow many times you want `options.indent` repeated.\n\n#### options\n\nType: `object`\n\n##### indent\n\nType: `string`\\\nDefault: `' '`\n\nThe string to use for the indent.\n\n##### includeEmptyLines\n\nType: `boolean`\\\nDefault: `false`\n\nAlso indent empty lines.\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- [redent](https://github.com/sindresorhus/redent) - Strip redundant indentation and indent the string\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n","publish_time":1794760975891,"_cnpm_publish_time":1794760975891,"dist-tags":{"latest":"6.0.0"}}