@jouwomgeving/package-name-regexp

0.1.0 • Public • Published

@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

Package Sidebar

Install

npm i @jouwomgeving/package-name-regexp

Weekly Downloads

6

Version

0.1.0

License

UNLICENSED

Last publish

Collaborators

  • fvanderpost
  • lennarddevries
  • ivanhulzen
  • dkainama
  • rvanleeuwen