@superlogica/super-date-js
v1.0.1
Published
Date Lib with segregated interfaces developed with clean architecture concepts by Superlógica Tecnologias S.A
Downloads
39
Keywords
Readme
What is Super Date?
Date lib for Node.js & TypeScript developed by Superlógica Tecnologias S.A
Getting started
To install the lib just run the command:
npm install @superlogica/super-date-js
Ready!
Now you can use the available interfaces and the adapter.
How Works?
The most basic possible use is to import (adapter) and use it, as in the following example:
import { SuperDate } from '@superlogica/super-date-js'
const currentDate = SuperDate.now('UTC')
const defaultDate = new Date('2023-01-01T00:00:00.000Z')
const parsedDate = SuperDate.parse(defaultDate, 'America/Sao_Paulo')