Collection of i18n utilities
npm install @intlify/utils[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![CI][ci-src]][ci-href]
Collection of i18n utilities
ā
ļø Modern: ES Modules first and respect Web Standard and ECMAScript
Internationalization APIs
ā ļø Compatible: support CommonJS and various JS environments
ā ļøļø Minimal: Small and fully tree-shakable
ā ļøļø Type Strong: Written in TypeScript, with full JSdoc
``shUsing npm
npm install @intlify/utils
$3
`sh
deno add jsr:@intlify/utils
`$3
`sh
bun add @intlify/utils
`$3
in your HTML:
`html
`š Playground
You can play the below examples:
- š¢ Node.js:
npm run play:node
- š¦ Deno:
npm run play:deno
- š„ Bun:
npm run play:bun
- š Browser:
npm run play:browserš¤ API
See the API docs
š Contributing guidelines
If you are interested in contributing to
@intlify/utils`, I highly recommend checking out the contributing guidelines here. You'll find all the relevant information such as how to make a PR, how to setup development) etc., there.[npm-version-src]: https://img.shields.io/npm/v/@intlify/utils?style=flat&colorA=18181B&colorB=FFAD33
[npm-version-href]: https://npmjs.com/package/@intlify/utils
[npm-downloads-src]: https://img.shields.io/npm/dm/@intlify/utils?style=flat&colorA=18181B&colorB=FFAD33
[npm-downloads-href]: https://npmjs.com/package/@intlify/utils
[ci-src]: https://github.com/intlify/utils/actions/workflows/ci.yml/badge.svg
[ci-href]: https://github.com/intlify/utils/actions/workflows/ci.yml