a simple and sexy version-maker
CoffeeScript JavaScript
Pull request Compare This branch is 4 commits behind guo-yu:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
coffee
.gitignore
.npmignore
README.md
index.js
package.json
test.js

README.md

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