{"_id":"@cjser/strip-shebang","name":"@cjser/strip-shebang","dist-tags":{"latest":"2.0.0-cjser.2"},"versions":{"2.0.0-cjser.2":{"name":"@cjser/strip-shebang","version":"2.0.0-cjser.2","description":"Strip shebang (Example: #!/bin/sh) from a string","license":"MIT","repository":{"type":"git","url":"https://code.moenext.com/3rdeye/cjser.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"require":"./dist-cjser/index.cjs","default":"./index.js"},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava"},"keywords":["cli","bin","strip","remove","shebang","hasbang","hash","pound"],"dependencies":{"@cjser/shebang-regex":"4.0.0-cjser.2"},"devDependencies":{"ava":"^3.15.0","xo":"^0.44.0"},"main":"./dist-cjser/index.cjs","cjser":{"sourceVersion":"2.0.0","cjserVersion":2,"original":{"name":"strip-shebang","version":"2.0.0","exports":"./index.js","repository":"sindresorhus/strip-shebang","dependencies":{"shebang-regex":"^4.0.0"},"files":["index.js"],"scripts":{"test":"xo && ava"}}},"_id":"@cjser/strip-shebang@2.0.0-cjser.2","gitHead":"a4bef54d7d22d3d9a6b84528457938d84cd65fe7","_nodeVersion":"20.14.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-/TI5pizKtsNnTZi+POLWPyO21k7O/zwoaUKd2tvzVHgFAiJlkEECne1glF6Qj0nFNaOTW0a8RHcLDl/mQCf3VQ==","shasum":"570d6abb20fce77edc137506eb177ade8b0b33cb","tarball":"https://registry.npmjs.org/@cjser/strip-shebang/-/strip-shebang-2.0.0-cjser.2.tgz","fileCount":5,"unpackedSize":5137,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDKBT2KYjsB3+XD11rlKvMJiE6INChSG8w3L+z6nq4fTAIhAI4L1bJnJrJAZrhEjPVDbL0OgDVVK6PmDdeVhnvK2Rl/"}]},"_npmUser":{"name":"nanahira","email":"nanahira@momobako.com"},"directories":{},"maintainers":[{"name":"nanahira","email":"nanahira@momobako.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/strip-shebang_2.0.0-cjser.2_1778160200932_0.4174427257076896"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-07T13:23:20.866Z","2.0.0-cjser.2":"2026-05-07T13:23:21.077Z","modified":"2026-05-07T13:23:21.391Z"},"maintainers":[{"name":"nanahira","email":"nanahira@momobako.com"}],"description":"Strip shebang (Example: #!/bin/sh) from a string","keywords":["cli","bin","strip","remove","shebang","hasbang","hash","pound"],"repository":{"type":"git","url":"https://code.moenext.com/3rdeye/cjser.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"license":"MIT","readme":"# strip-shebang\n\n> Strip [shebang](https://en.wikipedia.org/wiki/Shebang_(Unix)) *(Example: `#!/bin/sh`)* from a string\n\n## Install\n\n```\n$ npm install strip-shebang\n```\n\n## Usage\n\n```js\nimport fs from 'node:fs';\nimport stripShebang from 'strip-shebang';\n\nconst string = fs.readFileSync('unicorns', 'utf8');\n//=> #!/usr/bin/env node\n//=> console.log('unicorns');\n\nstripShebang(string);\n//=>\n//=> console.log('unicorns');\n```\n\n## cjser\n\nThis package is a CommonJS-compatible build generated by cjser for projects that still need `require()` support. The source version matches the original npm package version, with a cjser prerelease suffix for this generated build.\nOriginal repository: https://github.com/sindresorhus/strip-shebang\n","readmeFilename":"readme.md","_rev":"1-6fcdf592cff4cf89f3b41173acca769d"}