snyk-module

Snyk module helper

Usage no npm install needed!

<script type="module">
  import snykModule from 'https://cdn.skypack.dev/snyk-module';
</script>

README

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.