UNPKG

react-klasha

Version:

This is an reactJS library for implementing klasha payment gateway

16 lines (13 loc) 336 B
const SemVer = require('../classes/semver') const inc = (version, release, options, identifier) => { if (typeof (options) === 'string') { identifier = options options = undefined } try { return new SemVer(version, options).inc(release, identifier).version } catch (er) { return null } } module.exports = inc