4.0.0 • Published 3 months ago

npm-normalize-package-bin v4.0.0

Weekly downloads
5,388,887
License
ISC
Repository
github
Last release
3 months ago

npm-normalize-package-bin

Turn any flavor of allowable package.json bin into a normalized object.

API

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.

npm-bundlednpm-pick-manifestread-package-jsonread-package-json-fastkilli8n-react-native-fast-imagegew-nodejs-api-client@cashremit/cr-streamline-icons@frxf/frxf@saeon/ol-react@saeon/quick-formcogoportutils@mink-opn/build-tokens@everything-registry/sub-chunk-2341@mediakular/svelte-data-gridkjistik-fixed-component-libraryphone-morkupsvelvet-customwinx-form-winxwow.js-juziwrenchnpm-ui-componentssedanbosoksvelte-crypt-textkjistik-component-librarysushi-sdk-ftmzzzxxxyyy321123jamuskalimip-designhubot-budahotkey-mapperiiif-manifest-editorgundam5l2forlernagh-monoproject-cligit-branching-workflowmynancemangudinlagirajinluojia-cli-devpileuleuyanteanpminstallng-search-dropdownmyreuselibrarymyui5librarychenmyui5librarymobopatepangdeuireact-flow-highly-customizable-edgesreact-picky-with-clearnuxtpaginationspyreswap-sdkreact-native-touch-id-namgyupxnpminstallrefinejs-repotehmusimhujanud7-act2@azure-tools/adl.core@bdefore/nivo-patterned-radial-arc@buganto/client@carhoo/widget-dealers@cdk8s-extensions/argo-rollout@cleveradssolutions/cas.cordova.ironsource@cleveradssolutions/cas.cordova.kidoz@cleveradssolutions/cas.cordova.mintegral@cleveradssolutions/cas.cordova.mytarget@cleveradssolutions/cas.cordova.optimal@cleveradssolutions/cas.cordova.pangle@cleveradssolutions/cas.cordova.superawesome@cleveradssolutions/cas.cordova.tapjoy@cleveradssolutions/cas.cordova.unity@cleveradssolutions/cas.cordova.vungle@cleveradssolutions/cas.cordova.yandex@cleveradssolutions/cas.cordova.adcolony@cleveradssolutions/cas.cordova.admob@cleveradssolutions/cas.cordova.applovin@cleveradssolutions/cas.cordova.facebook@cleveradssolutions/cas.cordova.families@cleveradssolutions/cas.cordova.fyber@cleveradssolutions/cas.cordova.inmobi@adfinitas.fr/adfinitas-ui@abhinavoneuipoc/stencil-testypt-part@parallelnft/web3modal@eki-group/svelvet@ghnacker/bin-links@infinitebrahmanuniverse/nolb-npm-n@lavamoat/allow-scripts@marinaga/bananize@nigel2024/onecli-npminstall@enirisdev/angular-google-charts@hieuquang2212/form@react-18-pdf/root@safely-project/safely-ts@saeon/logger@poondestroyer/sig@npmcli/installed-package-contents@plogg/three@opn-ooo/eslint-config-opn@se-yl/npm-pick-manifest@cnpmjs/rapid@positionex/position-sdkanakwadonteaanaklanangtea
4.0.0

3 months ago

3.0.1

2 years ago

3.0.0

2 years ago

2.0.0

2 years ago

1.0.1

5 years ago

1.0.0

5 years ago