0.0.1 • Published 5 years ago
ehsanx64-jslib v0.0.1
jslib
jslib is a library of useful JavaScript functions.
Requirements:
- Library MUST be self-contained with no dependecies.
- For production it MUST be only one file.
- It MUST be conflict/collision proof.
Routines:
Dates:
Methods and utilities to manipulate dates including:
- Greogiran to Jalali date conversion and vise versa
Formating:
- Numerals:
- Bi-directional Arabic and Latin numeral conversion
- Formating routines for following entities:
- Prices
Validation:
- url
- email address
- number
- date (Gregorian and Jalali)