{"_id":"@esm2cjs/indent-string","name":"@esm2cjs/indent-string","dist-tags":{"latest":"5.0.0"},"versions":{"5.0.0":{"name":"@esm2cjs/indent-string","version":"5.0.0","description":"Indent each line in a string. This is a fork of sindresorhus/indent-string, but with CommonJS support.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/esm2cjs/indent-string.git"},"funding":"https://github.com/sponsors/AlCalzone","author":{"name":"Dominic Griesel","email":"d.griesel@gmx.net"},"exports":{".":{"import":"./esm/index.js","require":"./cjs/index.js"},"./package.json":"./package.json"},"engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["indent","string","pad","align","line","text","each","every"],"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"publishConfig":{"access":"public"},"main":"cjs/index.js","module":"esm/index.js","types":"esm/index.d.ts","typesVersions":{"*":{"esm/index.d.ts":["esm/index.d.ts"],"cjs/index.d.ts":["esm/index.d.ts"],"*":["esm/*"]}},"xo":{"ignores":["cjs","**/*.test-d.ts","**/*.d.ts"]},"gitHead":"8ffc28a311d5c7ea083816bd2fd1aab6a402d1ce","bugs":{"url":"https://github.com/esm2cjs/indent-string/issues"},"homepage":"https://github.com/esm2cjs/indent-string#readme","_id":"@esm2cjs/indent-string@5.0.0","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-vulgkPAkBMW4gOLurzjCQQAd0rp9Gogjl3TSkB+XxrxD+GpgG6SJIG3UedZQsAl+wQtW8h/a3m4EQjQgrA099w==","shasum":"1b8baf8bf84f06056fbb08ed33d72845c0ba3ebd","tarball":"https://registry.npmjs.org/@esm2cjs/indent-string/-/indent-string-5.0.0.tgz","fileCount":10,"unpackedSize":9106,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCt4OOX2rXThB+T536e6Nk26PXZz4k1646xeTBwr8YeKwIgeICfTNQkx7DX6aYrJKOOPgsbzIFv1UXYcans+taBnSw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi/6DyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoePg/+JDCtTD20ys5EFi377J+CR+UbKTL9o8kuxzYQu68U66PDGYQb\r\nKVUadtWel3x/m2UBBxyRdCgqnC17IB1hlQvpcnF9euba1cWMqEmq8zot2dIg\r\nFaL/D1Enwfe2QxeEwxyr2Xuw7dMYgR+faI7khlkA2C1Uezod79AcVjrxgf2r\r\n/CeyISBhi+QGbns0kN+svo3CUaxfClnzqNEvT2id7gxfMy4zGP9YWS4b7iK/\r\nBnlWEA1J1UiX6oIp0qjwjH+7bRDj5eqPud/d0GKGm/ElrlmFzZTZouv/Kn6b\r\nem7lFqAJKtivXrom9sR6kQ/OjdQE89IknnYS6IGmCHJTRNZOwgbc+oBaujKL\r\nGZeXXoZ/Gtf9l0P7mwYRWNlQuQmdyXDwPi9q7JMdRHJ+/U3l+NzUet8dtTrT\r\niDXsIX/HLGlziCVyrXbERmZRnrqIc7Ak1SeqwXUo8937FZEAkGo39ks8SKrg\r\na/0vMZxr2MT+y2dINPWZMdElpl4NqQKJ5Xk0RwnY+OM+k00oHmY1UHK2zoU3\r\nh0zVIpOvXBMz/LLg89tyFXxO4Uwunfxrcxyq6Z1umgmVL1Ut4sUPUaiuSCoq\r\nlLlRoDC3uuOm+DFs1w0+AXF4vnGRN/4991HqaLu0qLk4mjyJLY7vhjcyBSLy\r\nprLl0lDsRhgyFylJeaPcddQ+ttSTl6QBRF8=\r\n=PML5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alcalzone","email":"d.griesel@gmx.net"},"directories":{},"maintainers":[{"name":"alcalzone","email":"d.griesel@gmx.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/indent-string_5.0.0_1660920050336_0.8427732941757689"},"_hasShrinkwrap":false}},"time":{"created":"2022-08-19T14:40:50.249Z","5.0.0":"2022-08-19T14:40:50.541Z","modified":"2022-08-19T14:40:50.675Z"},"maintainers":[{"name":"alcalzone","email":"d.griesel@gmx.net"}],"description":"Indent each line in a string. This is a fork of sindresorhus/indent-string, but with CommonJS support.","homepage":"https://github.com/esm2cjs/indent-string#readme","keywords":["indent","string","pad","align","line","text","each","every"],"repository":{"type":"git","url":"git+https://github.com/esm2cjs/indent-string.git"},"author":{"name":"Dominic Griesel","email":"d.griesel@gmx.net"},"bugs":{"url":"https://github.com/esm2cjs/indent-string/issues"},"license":"MIT","readme":"# @esm2cjs/indent-string\n\nThis is a fork of https://github.com/sindresorhus/indent-string, but automatically patched to support ESM **and** CommonJS, unlike the original repository.\n\n## Install\n\nYou can use an npm alias to install this package under the original name:\n\n```\nnpm i indent-string@npm:@esm2cjs/indent-string\n```\n\n```jsonc\n// package.json\n\"dependencies\": {\n    \"indent-string\": \"npm:@esm2cjs/indent-string\"\n}\n```\n\nbut `npm` might dedupe this incorrectly when other packages depend on the replaced package. If you can, prefer using the scoped package directly:\n\n```\nnpm i @esm2cjs/indent-string\n```\n\n```jsonc\n// package.json\n\"dependencies\": {\n    \"@esm2cjs/indent-string\": \"^ver.si.on\"\n}\n```\n\n## Usage\n\n```js\n// Using ESM import syntax\nimport indentString from \"@esm2cjs/indent-string\";\n\n// Using CommonJS require()\nconst indentString = require(\"@esm2cjs/indent-string\").default;\n```\n\n> **Note:**\n> Because the original module uses `export default`, you need to append `.default` to the `require()` call.\n\nFor more details, please see the original [repository](https://github.com/sindresorhus/indent-string).\n\n## Sponsoring\n\nTo support my efforts in maintaining the ESM/CommonJS hybrid, please sponsor [here](https://github.com/sponsors/AlCalzone).\n\nTo support the original author of the module, please sponsor [here](https://github.com/sindresorhus/indent-string).\n","readmeFilename":"readme.md"}