ConvertEasy 1.0.4
A Simple way to convert local currency, length, height and other metrics.
New Features!
- Convert number format to currency local.
- Now Can you use this library to generate unique Id numeric, string customized for your primaries Keys.
Development
Want to contribute? Great!
ConvertEasy would love your help to grow.
Open your favorite Terminal and run these commands.
First Tab:
$ npm i converteasy
For ES6:
For lower JS:
const convertMoney =
For use you just need pass three parameters to function: - Local = "pt-br" - Currency = "BRL" - Value = 350
The return will be:
R$ 135000
Convert Date to ISO string:
For ES6:
For lower JS:
const convertIsoToDate =
For use you just need pass three parameters to function: - ISO: 2020-09-15T18:45:26.621Z
The return will be:
2020-9-15
New Methods:
For Generate a numeric random ID with custom length:
For generate a string unique ID with customized length:
For generate a string unique ID complete:
License
MIT