Thanks to visit codestin.com
Credit goes to github.com

Skip to content

intlify/utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

@intilfy/utils

npm version npm downloads CI

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

# Using npm
npm install @intlify/utils

# Using yarn
yarn add @intlify/utils

# Using pnpm
pnpm add @intlify/utils

πŸ¦• Deno

deno add jsr:@intlify/utils

πŸ₯Ÿ Bun

bun add @intlify/utils

🌍 Browser

in your HTML:

<script type="module">
  /**
   * you can install via other CDN URL such as skypack,
   * or, you can also use import maps
   */
  import { isLocale } from 'https://esm.sh/@intlify/utils'

  // something todo
  // ...
</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.

🀝 Sponsors

The development of @intlify/utils is supported by my OSS sponsors!

sponsor

©️ License

MIT

About

Collection of i18n utilities

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 3

  •  
  •  
  •