jojodate
v1.0.2
Published
A date plugin to solve date related problems
Downloads
6
Maintainers
Readme
validate.js
jojodate.js is a lightweight JavaScript to solve date problems.
Features
- No dependencies
How to use
var plugin=new JoJoDate();
// return a date list
plugin.getDatesBetween('2020-07-20','2020-08-10');
//return a date string
plugin.getDateAfter('2020-07-20',2);
//return a number
plugin.getDiff('2020-07-20','2020-08-10');
Documentation
https://www.npmjs.com/package/jojodate
Browserify
https://www.npmjs.com/package/jojodate
npm install jojodate
Plugins
https://www.npmjs.com/package/jojodate