- Notifications
You must be signed in to change notification settings - Fork0
Lightweight TypeScript date utility functions library
License
alessiofrittoli/date-utils
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This lightweight TypeScript utility library comes with common and utility dates functions.
Everything is exported from the root of this library but specific paths can be used too (especially when dynamically importing functions and tree shaking has no effect).
Run the following command to start usingdate-utils
in your projects:
npm i @alessiofrittoli/date-utils
or usingpnpm
pnpm i @alessiofrittoli/date-utils
npm install
or usingpnpm
pnpm i
Run the following command to test and build code for distribution.
pnpm build
warnings / errors check.
pnpm lint
Run all the defined test suites by running the following:
# Run tests and watch file changes.pnpm test:watch# Run tests in a CI environment.pnpm test:ci
- See
package.json
file scripts for more info.
Run tests with coverage.
An HTTP server is then started to serve coverage files from./coverage
folder.
test:coverage:serve
Contributions are truly welcome!
Please refer to theContributing Doc for more information on how to start contributing to this project.
Help keep this project up to date withGitHub Sponsor.
If you believe you have found a security vulnerability, we encourage you toresponsibly disclose this and NOT open a public issue. We will investigate all legitimate reports. Emailsecurity@alessiofrittoli.it
to disclose any security vulnerabilities.
|
About
Lightweight TypeScript date utility functions library