Submit
Path:
~
/
/
proc
/
self
/
root
/
usr
/
lib
/
node_modules
/
npm
/
node_modules
/
npm-normalize-package-bin
/
File Content:
README.md
# npm-normalize-package-bin Turn any flavor of allowable package.json bin into a normalized object. ## API ```js const normalize = require('npm-normalize-package-bin') const pkg = {name: 'foo', bin: 'bar'} console.log(normalize(pkg)) // {name:'foo', bin:{foo: 'bar'}} ``` Also strips out weird dots and slashes to prevent accidental and/or malicious bad behavior when the package is installed.
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
.github
---
0755
.npmignore
282 bytes
0644
LICENSE
739 bytes
0644
README.md
398 bytes
0644
index.js
1294 bytes
0644
package-lock.json
120077 bytes
0644
package.json
1764 bytes
0644
N4ST4R_ID | Naxtarrr