Gathering detailed insights and metrics for messageformat-date-skeleton
Gathering detailed insights and metrics for messageformat-date-skeleton
Gathering detailed insights and metrics for messageformat-date-skeleton
Gathering detailed insights and metrics for messageformat-date-skeleton
npm install messageformat-date-skeleton
Typescript
Module System
Node Version
NPM Version
73.6
Supply Chain
82
Quality
74.9
Maintenance
100
Vulnerability
100
License
number-skeleton@0.2.1
Updated on Apr 04, 2020
date-skeleton@0.1.1
Updated on Apr 04, 2020
number-skeleton@0.2.0
Updated on Apr 04, 2020
date-skeleton@0.1.0
Updated on Apr 04, 2020
number-skeleton@0.1.1
Updated on Apr 04, 2020
TypeScript (98.39%)
JavaScript (1.61%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
1 Stars
76 Commits
1 Watchers
1 Branches
4 Contributors
Updated on Jan 28, 2023
Latest Version
0.1.1
Package Id
messageformat-date-skeleton@0.1.1
Size
7.42 kB
NPM Version
6.14.2
Node Version
13.10.1
Published on
Apr 04, 2020
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
No dependencies detected.
Tools for working with ICU DateFormat skeletons.
1import { 2 DateFormatError, 3 DateToken, // TS only 4 getDateFormatter, 5 getDateFormatterSource, 6 parseDateTokens 7} from 'messageformat-date-skeleton' 8
The package is released as an ES module only. If using from a CommonJS context, you may need to import()
it, or use a module loader like esm.
Uses Intl.DateTimeFormat internally. Position-dependent ICU DateFormat patterns are not supported, as they cannot be represented with Intl.DateTimeFormat options.
Class | Description |
---|---|
DateFormatError | Parent class for errors. |
Function | Description |
---|---|
getDateFormatter(locales, tokens, onError) | Returns a date formatter function for the given locales and date skeleton |
getDateFormatterSource(locales, tokens, onError) | Returns a string of JavaScript source that evaluates to a date formatter function with the same (date: Date | number) => string signature as the function returned by getDateFormatter(). |
parseDateTokens(src) | Parse an ICU DateFormat skeleton string into a DateToken array. |
Type Alias | Description |
---|---|
DateToken | An object representation of a parsed date skeleton token |
Messageformat is an OpenJS Foundation project, and we follow its Code of Conduct.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
no SAST tool detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
project is archived
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
38 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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