New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details → →
Socket
Book a DemoSign in
Socket

@ui18n/core

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ui18n/core

🚀 The fastest zero-dependency internationalization engine with AI-ready translation, smart caching, and universal framework support

latest
Source
npmnpm
Version
0.1.0-rc.6.12
Version published
Maintainers
1
Created
Source

@ui18n/core

Core internationalization library with advanced features like caching, fallbacks, and performance optimization.

🚀 Installation

npm install @ui18n/core

đź“– Quick Start

import { createUI18n } from '@ui18n/core';

const ui18n = createUI18n({
  locale: 'en',
  messages: {
    en: { hello: 'Hello World' },
    zh: { hello: '你好世界' }
  }
});

const message = await ui18n.t('hello');
console.log(message); // 'Hello World'

đź“‹ API Reference

Main Exports

// Core exports
export { ... }

Configuration Options

interface Config {
  // Configuration options
}

🎯 Examples

Basic Usage

// Basic example

Advanced Usage

// Advanced example

đź”§ Configuration

Options

  • option1: Description
  • option2: Description

Environment Variables

  • UI18N_ENV: Production/development mode

đź§Ş Testing

npm test

📝 Changelog

See CHANGELOG.md for version history.

🤝 Contributing

See CONTRIBUTING.md for contribution guidelines.

đź“„ License

MIT © UI18n Team

Part of the UI18n ecosystem - Making internationalization simple and powerful.

Keywords

i18n

FAQs

Package last updated on 05 Oct 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