Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inBook a demo

npm-normalize-package-bin

Package Overview
Dependencies
0
Maintainers
5
Versions
4
Issues
File Explorer

Advanced tools

npm-normalize-package-bin

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

    3.0.0latest

Version published
Maintainers
5
Weekly downloads
8,442,392
decreased by-10.16%

Weekly downloads

Changelog

Source

3.0.0 (2022-10-10)

⚠️ BREAKING CHANGES

  • npm-normalize-package-bin is now compatible with the following semver range for node: ^14.17.0 || ^16.13.0 || >=18.0.0

Features

  • 06ee481 #23 postinstall for dependabot template-oss PR (@lukekarrys)

Readme

Source

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.

FAQs

What is npm-normalize-package-bin?

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

Is npm-normalize-package-bin popular?

The npm package npm-normalize-package-bin receives a total of 8,049,518 weekly downloads. As such, npm-normalize-package-bin popularity was classified as popular.

Is npm-normalize-package-bin well maintained?

We found that npm-normalize-package-bin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.It has 5 open source maintainers collaborating on the project.

Last updated on 14 Oct 2022

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc