node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

releaser

logo releaser npm

a minimalism style version-maker

How to install

$ npm install releaser

Usage

Sample code

var releaser = require('releaser');
 
// init instcance 
var version = new releaser({
    devider: '.'
});
 
// update version 
var newVesion = version.up(); // up to 0.0.1 
 
// version detail 
console.log(version);
 
// details look like: 
{
  created: [Date],
  number: 2,
  version: '0.0.1',
  divider: '.'
}

Run unit-test (Mocha)

$ git clone https://github.com/turingou/releaser.git
$ cd releaser
$ npm install 
$ npm test