@intilfy/utils

Collection of i18n utilities
🌟 Features
✅️ 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
💿 Installation
🐢 Node.js
npm install @intlify/utils
yarn add @intlify/utils
pnpm add @intlify/utils
🦕 Deno
deno add jsr:@intlify/utils
🥟 Bun
bun add @intlify/utils
🌍 Browser
in your HTML:
<script type="module">
import { isLocale } from 'https://esm.sh/@intlify/utils'
</script>
🍭 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.
©️ License
MIT