{"name":"npm-normalize-package-bin","version":"5.0.0","author":{"name":"GitHub Inc."},"license":"ISC","_id":"npm-normalize-package-bin@5.0.0","maintainers":[{"name":"gar","email":"gar+npm@danger.computer"},{"name":"saquibkhan","email":"saquibkhan@github.com"},{"name":"npm-cli-ops","email":"npm-cli+bot@github.com"},{"name":"reggi","email":"reggi@github.com"},{"name":"hashtagchris","email":"hashtagchris@github.com"},{"name":"owlstronaut","email":"owlstronaut@github.com"}],"homepage":"https://github.com/npm/npm-normalize-package-bin#readme","bugs":{"url":"https://github.com/npm/npm-normalize-package-bin/issues"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"dist":{"shasum":"2b207ff260f2e525ddce93356614e2f736728f89","tarball":"http://registry-npm.ywwl.com/npm-normalize-package-bin/download/npm-normalize-package-bin-5.0.0.tgz","fileCount":4,"integrity":"sha512-CJi3OS4JLsNMmr2u07OJlhcrPxCeOeP/4xq67aWNai6TNWWbTrlNDgl8NcFKVlcBKp18GPj+EzbNIgrBfZhsag==","signatures":[{"sig":"MEYCIQC6+UxOC43dfSVmHwzMViTvDBJFi8JRJB19/NWGwfmQ6gIhAIiV6QFGTa5UKKh5fpdxeZ5Ziq4cDTVgOuff0cvgwPl6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/npm-normalize-package-bin@5.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":3626,"size":1877,"noattachment":false,"key":"/npm-normalize-package-bin/-/npm-normalize-package-bin-5.0.0.tgz"},"main":"lib/index.js","engines":{"node":"^20.17.0 || >=22.9.0"},"gitHead":"c766b99440e11de15fa842d82fbc4fc653853b38","scripts":{"lint":"npm run eslint","snap":"tap","test":"tap","eslint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"","lintfix":"npm run eslint -- --fix","postlint":"template-oss-check","posttest":"npm run lint","template-oss-apply":"template-oss-apply --force"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9a591f63-bc8a-425c-9108-47a93896d563"}},"repository":{"url":"git+https://github.com/npm/npm-normalize-package-bin.git","type":"git"},"_npmVersion":"11.6.2","description":"Turn any flavor of allowable package.json bin into a normalized object","directories":{},"templateOSS":{"publish":"true","version":"4.27.1","//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten."},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"devDependencies":{"tap":"^16.3.0","@npmcli/template-oss":"4.27.1","@npmcli/eslint-config":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/npm-normalize-package-bin_5.0.0_1761147059376_0.7461613959039268","host":"s3://npm-registry-packages-npm-production"},"readme":"# npm-normalize-package-bin\n\nTurn any flavor of allowable package.json bin into a normalized object.\n\n## API\n\n```js\nconst normalize = require('npm-normalize-package-bin')\nconst pkg = {name: 'foo', bin: 'bar'}\nconsole.log(normalize(pkg)) // {name:'foo', bin:{foo: 'bar'}}\n```\n\nAlso strips out weird dots and slashes to prevent accidental and/or\nmalicious bad behavior when the package is installed.\n","publish_time":1761147059587,"_cnpm_publish_time":1761147059587,"dist-tags":{"latest":"6.0.0"}}