Type definitions are available in the @types/validate-npm-package-name package


  • Version 5.0.1
  • Published
  • 7.77 kB
  • No dependencies
  • ISC license


npm i validate-npm-package-name
yarn add validate-npm-package-name
pnpm add validate-npm-package-name


Give me a string and I'll tell you if it's a valid npm package name

Dependencies (0)

No dependencies.

Dev Dependencies (3)

Peer Dependencies (0)

No peer dependencies.


To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/validate-npm-package-name.

  • Markdown
  • HTML
    <a href="https://www.jsdocs.io/package/validate-npm-package-name"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>