parse-version
Parsing four number versions.
Last updated 3 years ago by aloisdeniel .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install parse-version 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.7.0                                ...           latest (3 years ago)

4 Versions

  • 0.7.0                                ...           3 years ago
  • 0.6.1                                ...           3 years ago
  • 0.6.0                                ...           3 years ago
  • 0.5.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 4
Dependencies (0)
None
Dev Dependencies (0)
None

Copyright 2014 - 2017 © taobao.org |