Gathering detailed insights and metrics for ts-luxon
Gathering detailed insights and metrics for ts-luxon
Gathering detailed insights and metrics for ts-luxon
Gathering detailed insights and metrics for ts-luxon
npm install ts-luxon
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
13 Stars
182 Commits
3 Forks
3 Watching
10 Branches
2 Contributors
Updated on 13 Nov 2024
Minified
Minified + Gzipped
TypeScript (99.29%)
JavaScript (0.49%)
Nix (0.22%)
Cumulative downloads
Total Downloads
Last day
8.1%
6,387
Compared to previous day
Last week
8.7%
33,242
Compared to previous week
Last month
4.2%
131,970
Compared to previous month
Last year
57.8%
1,256,937
Compared to previous year
TS Luxon is a library for working with dates and times in Javscript and Typescript.
This repo was initially created by GillesDebunne which of course started from Luxon itself.
Many thanks to both of them for this fantastic work.
I decided to fork his work, because we don't know for sure if and when Luxon will adopt this source.
I realized moment wasn't suitable anymore for my projects, but I couldn't wait to have a more stable version and at this time Luxon (v 1.25.0) had structural issues, which resulted in errors in my Angular projects.
See the docs page
1DateTime.now().setZone('America/New_York').minus({ weeks: 1 }).endOf('day').toISO();
npm i ts-luxon --save
then
1import {DateTime} from "ts-luxon"; 2 3const myDto = DateTime.local();
You can download the umd bundle from here:
See the docs page
and the demo page
more example will be added! For suggestions open an issue or a PR (yes, even on the demo site if you want)!
Jetbrains is now supporting this library with an open-source license, which will allow a better code! 🎉
Thanks to fire332 for his contribution about package.json
Please, read the CONTRIBUTING.md you can find in the master branch.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1
Reason
9 existing vulnerabilities detected
Details
Reason
Found 0/13 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More