1.0.2 • Published 6 months ago

daystack v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

daystack

Este paquete es una combinacion con dayjs en la cual agregamos 3 metodos, las cuales son:

  • formatDate
  • isWeekend
  • isValidDate

install

npm install daystack

examples

const daystack = require("daystack");
const response = daystack.formatDate(new Date(), "DD/MM/YYYY");
console.log(response, "response");

const isValid = daystack.isValid(new Date());
console.log(isValid, "isValid");

const isWeekend = daystack.isWeekend(new Date());
console.log(isWeekend, "isWeekend");
1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago