package-name-regex 4.0.0

Provides a regex that can be used to test if a string is a valid NPM package name.

package-name-regex@4.0.0 was published on 2024-03-04. Its manifest declares 0 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=18.

All package-name-regex versions · Permanent reference to 4.0.0 · Latest release

Package specifications

Version4.0.0
License declarationMIT
Published2024-03-04T17:39:37.222Z
Node.js requirement>=18
Type declarationsBundled declarations
Runtime dependency count0
Peer requirement count0
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size6.43 KiB
Published file count5
Package typemodule
ES module entryNot declared
Default entrydist/index.js
Side effects declarationNot declared
Direct advisoriesUnknown
Resolved graph dependenciesUnknown
Repository starsUnknown
Repository forksUnknown

Install package-name-regex 4.0.0

npm install package-name-regex@4.0.0
pnpm add package-name-regex@4.0.0
yarn add package-name-regex@4.0.0

Runtime dependencies

  • None declared

Peer requirements

  • None declared

Optional dependencies

  • None declared

How to interpret the specifications

Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

Evidence and freshness