npm-generatereference
1.0.5 • Public • Published
- This enables the user to generate a unique identifier/reference.
- The result is a concatenation of a random string and the date and time.
- It is possible to change the number of characters of the random string.
- The result has also a random color code (from 92 colors).
- This can also allow the user to update prices due to taxation or to sales.
- It also allows to sum the total of prices of purcahsed items.
Usage
color()
reference()
tax(price, tax%)
sale(price, discount%)
total(array)
Dependencies (1)
Dev Dependencies (0)
Package Sidebar
Install
npm i npm-generatereference
Weekly Downloads