2.0.0 • Published 8 months ago
better-date.js v2.0.0
Utilisation & Example
To install it, run the following command:
npm i better-date.js or yarn add better-date.js
Code example:
import * as betterDate from "better-date.js"; // typescript
const betterDate = require("better-date.js"); // javascript
/* examples */
new betterDate.BetterDate("America/New_York", 12)
.formattedAsync(new Date())
.then((data) => console.log(data))
.catch((err) => {}); // {time, calendar}
Additionnal Informations
This package is under GNU Public Licence 3.0. Use the packages as your wishes. If you find any bugs, please repport them at https://github.com/Gamearoos-development/better-date.js/issues A suggestion? Send me an email or open an issue with the suggestion label! WE ARE NOT RESPONSIBLE FOR WHAT YOU DO WITH THE PACKAGE!