calculate-version

0.0.1 • Public • Published

Calculate-version

Generates a version string based on the version specified in your package.json and the sha revision of the current commit/branch.

Install

Tipically you will only need to install this as a devDependency as follows"

npm install --save-dev calculate-version

Usage

This plugin automatically exports a function that when called calculates return the version string.

var calculateVersion = require('calculate-version');

Credits

The code that calculates the version has been extracted from https://github.com/emberjs/ember.js

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    1

Package Sidebar

Install

npm i calculate-version

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • cibernox