Socket
Book a DemoInstallSign in
Socket

@discord/intl-message-database

Package Overview
Dependencies
Maintainers
1
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@discord/intl-message-database

Rust-based Node extension module for parsing, extracting, and managing messages and translations across a project.

0.26.0-rc.2
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

intl_message_database

A Rust-based native Node extension module for quickly parsing, processing, and generating structured message definitions across an entire project. This is the core module powering all of the loaders, transformer plugins, and other tooling that relate to messages and translations. It includes a custom parser to handle a combination of ICU MessageFormat syntax for variable interpolations, along with (almost) full support for Markdown's inline styling syntax, and is able to output reformatted strings, ASTs, type definitions, perform validations across multiple translations, and more.

This crate is primarily developed for the Node API, but is implemented in a way that allows for other interfaces in the future (or splitting into multiple crates).

Business logic for this crate should be exposed as a Rust interface through the public.rs module. Interfaces for other languages should then be added as separate modules that proxy types from those languages to the public module. They should not perform any other work or logic independently.

Development

This crate is managed by the intl-cli, including commands for building and testing it across platforms:

# Build the library locally
pnpm intl-cli db build --target local
# Build specifically for a given target name
pnpm intl-cli db build --target darwin-arm64
# Run the benchmark tests on a local build to compare performance
pnpm intl-cli db bench

FAQs

Package last updated on 11 Aug 2025

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.