node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »



Build Status Coverage Status

Parses a string module name into an object, and tests for Snyk support.

See tests for examples.

Testing manually

You can use this module from the terminal whilst inside the root of the repo directory:

$ node . foo@3
{ name: "foo", version: 3 }