Skip to content
JS
Package

validate-npm-package-name

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

v8.0.0, 8 May 2026ISCCommonJSTypes: NoneSchema validation
$ npm install validate-npm-package-name

Key numbers

As of 25 Sept 2026
Weekly downloads
34.6m
+85% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
4 months ago
v8.0.0
GitHub stars
316
53 forks
Open issues / PRs
2 / 2
Contributors
22
Commits, last 52 weeks
23

Downloads

Last week 2026-09-15 to 2026-09-21
020m40m60mSept 2025Mar 2026Sept 2026High 46.6m (25 Aug 2026)Low 10.8m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

34,629,795 downloads last week, 168,707,857 in the last month. The 12-month change of +85% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
422 in total
Latest version
8.0.0, 8 May 20264 months ago
First published
12 Nov 2014
Last push to GitHub
18 Jun 202698 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
2
Commits, last 52 weeks
23
Dependents on npm
3,293

Major versions

  1. v8 first release 8.0.0, 8 May 2026
  2. v7 first release 7.0.0, 22 Oct 2025
  3. v6 first release 6.0.0, 25 Sept 2024
  4. v5 first release 5.0.0, 14 Oct 2022
  5. v4 first release 4.0.0, 29 Mar 2022
  6. v3 first release 3.0.0, 13 Feb 2017
  7. v2 first release 2.0.0, 20 Jan 2015
  8. v1 first release 1.0.0, 12 Nov 2014

Recent releases

VersionPublished
8.0.08 May 2026
7.0.26 Jan 2026
7.0.118 Dec 2025
7.0.022 Oct 2025
6.0.221 Jul 2025
6.0.15 Jun 2025
6.0.025 Sept 2024
5.0.16 May 2024
5.0.014 Oct 2022
4.0.029 Mar 2022
3.0.013 Feb 2017
2.2.230 Jun 2015
2.2.130 Jun 2015
2.2.028 Apr 2015
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
^22.22.2 || ^24.15.0 || >=26.0.0
Runtimes
-
Unpacked size (npm)
9.0 kB
Dependencies (0)
None
npm install validate-npm-package-name
  • jsDelivrhttps://cdn.jsdelivr.net/npm/validate-npm-package-name@8.0.0/
  • unpkghttps://unpkg.com/validate-npm-package-name@8.0.0/
  • esm.shhttps://esm.sh/validate-npm-package-name@8.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
validate-npm-package-license31m-8 years ago--
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.