Socket
Socket
Sign inDemoInstall

@formatjs/icu-skeleton-parser

Package Overview
Dependencies
2
Maintainers
3
Versions
48
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@formatjs/icu-skeleton-parser


Version published
Maintainers
3
Created

Package description

What is @formatjs/icu-skeleton-parser?

The @formatjs/icu-skeleton-parser package is a utility for parsing ICU MessageFormat patterns into an abstract syntax tree (AST). It is part of the FormatJS suite of libraries, which are designed to help with internationalization of applications. This package specifically deals with the parsing of ICU MessageFormat skeletons, which are shorthand for specifying date and time formats.

What are @formatjs/icu-skeleton-parser's main functionalities?

Parsing ICU MessageFormat skeletons

This feature allows you to parse ICU MessageFormat skeletons into an AST. The code sample demonstrates how to parse a simple date skeleton ('MMMd') which represents a format like 'Jul 20'.

const { parse } = require('@formatjs/icu-skeleton-parser');
const ast = parse('MMMd');
console.log(ast);

Other packages similar to @formatjs/icu-skeleton-parser

Readme

Source

icu-skeleton-parser

FAQs

Last updated on 01 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc