npm.io
3.4.0 • Published 3 months ago

snyk-module

Licence
Apache-2.0
Version
3.4.0
Deps
2
Size
12 kB
Vulns
0
Weekly
0

snyk/module

Build Status Coverage Status

Parses a string package name (with optional version) into an object, and tests for Snyk support.

This is designed to handle npm package names in particular (e.g. Git urls).

See tests for examples.

snyk-module is the legacy name.

TODO: rename the repo/package to @snyk/package-name-parser.