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
ICU MessageFormat and Unicode Messageformat for Javascript
npm install @messageformat/date-skeleton
Typescript
Module System
Node Version
NPM Version
messageformat@4.0.0-12
Updated on May 14, 2025
messageformat@4.0.0-11
Updated on May 07, 2025
messageformat@4.0.0-10
Updated on Mar 24, 2025
messageformat@4.0.0-9
Updated on Nov 21, 2024
messageformat@4.0.0-8
Updated on Oct 02, 2024
@messageformat/core@3.4.0
Updated on Oct 02, 2024
TypeScript (92.9%)
JavaScript (6.72%)
HTML (0.33%)
EJS (0.05%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
1,725 Stars
1,610 Commits
156 Forks
31 Watchers
5 Branches
60 Contributors
Updated on Jul 10, 2025
Latest Version
1.1.0
Package Id
@messageformat/date-skeleton@1.1.0
Unpacked Size
27.52 kB
Size
6.08 kB
File Count
11
NPM Version
10.8.2
Node Version
22.8.0
Published on
Oct 02, 2024
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';
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 |
getDateFormatter(locales, tokens, timeZone, onError) | Returns a date formatter function for the given locales and date skeleton with time zone overrride. |
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(). |
getDateFormatterSource(locales, tokens, timeZone, 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() with time zone override . |
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
15 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
SAST tool is run on all commits
Details
Reason
1 existing vulnerabilities detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 5
Details
Reason
branch protection is not maximal on development and all release branches
Details
Reason
Found 0/23 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
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
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