invoice-number
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i invoice-number

Weekly Downloads

229

Version

2.0.1

License

MIT

Unpacked Size

9.13 kB

Total Files

10

Last publish

Collaborators

  • kbala
  • rbrindha