Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
a simple and sexy version-maker
CoffeeScript JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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: '.'
});

// init from string
var versionNumber = new releaser({
    version: "0.1.4"
}).number;

// 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
Something went wrong with that request. Please try again.