New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

exact-version

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exact-version

Detect if a version string is an exact version and not a range

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

exact-version Build Status

Detect if a version string is an exact version and not a range

Install

$ npm install --save exact-version

Usage

var exactVersion = require('exact-version')

exactVersion('4.0.0')
//=> true

exactVersion('~4.0.0')
//=> false

API

exactVersion(version) -> boolean

version

Required
Type: string

A semver range / version.

License

MIT © Ben Drucker

Keywords

semver

FAQs

Package last updated on 05 Apr 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts