Skip to content

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

License

Notifications You must be signed in to change notification settings

origamiserviceuser/exact-version

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%