invoice-number
v2.0.1
Published
Generate invoice number sequentially
Downloads
883
Readme
invoice-number
Node.js module to generate invoice number sequentially
Installation
$ npm install invoice-number
Usage
import { InvoiceNumber } from 'invoice-number'
InvoiceNumber.next('2017/08/ABC001')
// => 2017/08/ABC002
InvoiceNumber.next('xjsiwe234njshd6')
// => XJSIWE234NJSHD7
InvoiceNumber.next('899ZZZ9')
// => 900AAA0