0.1.0 • Published 8 years ago

@jouwomgeving/package-name-regexp v0.1.0

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
8 years ago

@jouwomgeving/package-name-regexp

Regular expression for matching names of installed npm packages.

Purpose

Useful when you have to provide a regular expression to a configuration, e.g. externals in a webpack configuration.

For proper package name validation, use validate-npm-package-name instead.

NB: for simplicity's sake, not all URL-safe characters are currently matched. Feel free to add support for edge cases once you add tests. :-)

License

UNLICENSED