parse-version
Advanced tools
Weekly downloads
Readme
Simply parse string like 4.5.6.7
into javascript object like { major: 4, minor: 5, patch: 6, build: 7 }
.
$ npm install --save parse-version
var parseVersion = require('parse-version');
var version = parseVersion('2.5.6.7'); // { major: 2, minor: 5, patch: 6, build: 7 }
MIT © Aloïs Deniel
FAQs
Parsing four number versions.
The npm package parse-version receives a total of 430 weekly downloads. As such, parse-version popularity was classified as not popular.
We found that parse-version demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.