npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

reviewers-edition-increment

1.0.0 • Public • Published
var increment = require('reviewers-edition-increment')
var assert = require('assert')
 
assert.equal(increment('1e', 'edition'), '2e')
assert.equal(increment('1e', 'update'), '1e1u')
assert.equal(increment('1e', 'correction'), '1e1c')
assert.equal(increment('1e', 'draft'), '1e1d')
 
assert.throws(function () {
  increment('invalid', 'edition')
}, /invalid reviewers edition argument/)
 
assert.throws(function () {
  increment('1e', 'version')
}, /invalid component argument/)

install

npm i reviewers-edition-increment

Downloadsweekly downloads

0

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability