[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]test/2025-10-29 15:57 -  
[   ]LICENSE2025-10-29 15:57 739  
[TXT]README.md2025-10-29 15:57 398 38d15e7 removed strapi.query from api controllers to repair migration on dev server? [كارل مبارك]
[   ]index.js2025-10-29 15:57 1.3K 
[   ]package-lock.json2025-10-29 15:57 117K 
[   ]package.json2025-10-29 15:57 575  
# 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.