Gathering detailed insights and metrics for @bbc/moment-timezone-include
Gathering detailed insights and metrics for @bbc/moment-timezone-include
Gathering detailed insights and metrics for @bbc/moment-timezone-include
Gathering detailed insights and metrics for @bbc/moment-timezone-include
npm install @bbc/moment-timezone-include
Typescript
Module System
Node Version
NPM Version
37.4
Supply Chain
52.8
Quality
75.2
Maintenance
50
Vulnerability
96.7
License
JavaScript (99.88%)
Shell (0.11%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
143,912
Last Day
1
Last Week
11
Last Month
40
Last Year
739
NOASSERTION License
319 Stars
16,211 Commits
54 Forks
28 Watchers
37 Branches
78 Contributors
Updated on Dec 08, 2024
Latest Version
1.1.8
Package Id
@bbc/moment-timezone-include@1.1.8
Unpacked Size
23.42 kB
Size
5.14 kB
File Count
23
NPM Version
6.14.11
Node Version
12.21.0
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
0%
11
Compared to previous week
Last Month
-16.7%
40
Compared to previous month
Last Year
26.1%
739
Compared to previous year
4
1
1
This package allows you to exclude all moment timezones from being included, while including specific ones in the chunks you desire.
1npm install @bbc/moment-timezone-include --save
1plugins: [new MomentTimezoneInclude({ startYear: 1990, endYear: 2025 })],
This does two things. Firstly it removes all timezones from the moment-timezone package so that they can be included individually. It also specifies the date range of the specifically included timezone data. If startYear
isn't provided it defaults to the earliest available data and likewise if endYear
isn't included it includes all known future data.
1import '@bbc/moment-timezone-include/tz/America/New_York'
This makes the specified timezone available to moment. It supports all moment timezones by replacing America/New_York
in the example above with any moment timezone. The full list of timezones can be found here.
Psammead is completely open source. We are grateful for any contributions, whether they be new components, bug fixes or general improvements. Please see our primary contributing guide which can be found at the root of the Psammead respository.
We welcome feedback and help on this work. By participating in this project, you agree to abide by the code of conduct. Please take a moment to read it.
Psammead is Apache 2.0 licensed.
No vulnerabilities found.
Reason
security policy file detected
Details
Reason
all changesets reviewed
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
project is archived
Details
Reason
dangerous workflow patterns detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
project is not fuzzed
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
70 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-02-17
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