# snyk-module

> Snyk module helper

Latest version **3.4.0** (published 2026-06-29) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install snyk-module
pnpm add snyk-module
yarn add snyk-module
bun add snyk-module
```

## Health

**Score 55/100 (C)** — status: active.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 3.4.0 |
| Published | 2026-06-29 |
| First published | 2015-10-23 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=16 |
| Dependencies | 2 |
| Unpacked size | 12.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Remy Sharp |
| Maintainers | remy, snyk-admin |

## Links

- npm: https://www.npmjs.com/package/snyk-module
- Repository: https://github.com/snyk/module
- Homepage: https://github.com/snyk/module#readme
- Issues: https://github.com/snyk/module/issues
- npm.io page: https://npm.io/package/snyk-module

## Dependencies (2)

- [debug](https://npm.io/package/debug.md) ^4.1.1
- [hosted-git-info](https://npm.io/package/hosted-git-info.md) ^4.0.2

## Recent versions

- 3.4.0 (latest) — 2026-06-29
- 3.3.0 — 2024-11-19
- 3.2.0 — 2021-04-28
- 3.1.0 — 2020-05-24
- 3.0.0 — 2020-05-19
- 2.1.0 — 2019-11-29
- 2.0.2 — 2019-11-28
- 2.0.1 — 2019-11-28
- 2.0.0 — 2019-10-29
- 1.9.1 — 2018-11-04
- 1.9.0 — 2018-11-04
- 1.8.2 — 2018-04-28
- 1.8.1 — 2017-04-02
- 1.8.0 — 2017-01-29
- 1.7.1 — 2016-09-09
- … 11 more at https://npm.io/package/snyk-module/versions

## README

# snyk/module

[![Build Status](https://travis-ci.org/Snyk/module.svg?branch=master)](https://travis-ci.org/Snyk/module) [![Coverage Status](https://coveralls.io/repos/Snyk/module/badge.svg?branch=master&service=github)](https://coveralls.io/github/Snyk/module?branch=develop)

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](test/index.test.js) for examples.

`snyk-module` is the legacy name.

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

---
_Source: https://npm.io/package/snyk-module · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
