Skip to content

aloisdeniel/node-parse-version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

parse-version

Simply parse string like 4.5.6.7 into javascript object like { major: 4, minor: 5, patch: 6, build: 7 }.

Install

$ npm install --save parse-version

Quickstart

var parseVersion = require('parse-version');
var version = parseVersion('2.5.6.7'); // { major: 2, minor: 5, patch: 6, build: 7 }

Copyright and license

MIT © Aloïs Deniel

About

Parsing four number versions.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published