node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

snyk-module

snyk/module

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 }