{"name":"npm-normalize-package-bin","version":"4.0.0","description":"Turn any flavor of allowable package.json bin into a normalized object","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/npm/npm-normalize-package-bin.git"},"author":{"name":"GitHub Inc."},"license":"ISC","scripts":{"test":"tap","snap":"tap","lint":"npm run eslint","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force","lintfix":"npm run eslint -- --fix","posttest":"npm run lint","eslint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""},"devDependencies":{"@npmcli/eslint-config":"^5.0.0","@npmcli/template-oss":"4.23.3","tap":"^16.3.0"},"engines":{"node":"^18.17.0 || >=20.5.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.23.3","publish":"true"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"_id":"npm-normalize-package-bin@4.0.0","gitHead":"4594c6855a937f2d1296fe5b61adf318a9bf529b","bugs":{"url":"https://github.com/npm/npm-normalize-package-bin/issues"},"homepage":"https://github.com/npm/npm-normalize-package-bin#readme","_nodeVersion":"22.8.0","_npmVersion":"10.8.3","dist":{"integrity":"sha512-TZKxPvItzai9kN9H/TkmCtx/ZN/hvr3vUycjlfmH0ootY9yFBzNOpiXAdIn1Iteqsvk4lQn6B5PTrt+n6h8k/w==","shasum":"df79e70cd0a113b77c02d1fe243c96b8e618acb1","tarball":"http://registry-npm.ywwl.com/npm-normalize-package-bin/download/npm-normalize-package-bin-4.0.0.tgz","fileCount":4,"unpackedSize":3626,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/npm-normalize-package-bin@4.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBheboNvkKscyqapzTzy7a92JNSoVPO9M5jDkMDXFuf/AiBQ56LQZE32ZSrHfwdIv13qZdkvGDrKJ9FHmwB/9SpB0Q=="}],"size":1874,"noattachment":false,"key":"/npm-normalize-package-bin/-/npm-normalize-package-bin-4.0.0.tgz"},"_npmUser":{"name":"npm-cli-ops","email":"npm-cli+bot@github.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm-normalize-package-bin_4.0.0_1725495569017_0.7050804973997362"},"_hasShrinkwrap":false,"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":1725495569155,"maintainers":[{"name":"hashtagchris","email":"hashtagchris@github.com"},{"name":"reggi","email":"reggi@github.com"},{"name":"npm-cli-ops","email":"npm-cli+bot@github.com"},{"name":"saquibkhan","email":"saquibkhan@github.com"},{"name":"fritzy","email":"fritzy@github.com"},{"name":"gar","email":"gar+npm@danger.computer"}],"_cnpm_publish_time":1725495569155,"dist-tags":{"latest":"6.0.0"}}