@vinayakkulkarni/v-intl

Native i18n components for your shiny Vue 3 apps

Usage no npm install needed!

<script type="module">
  import vinayakkulkarniVIntl from 'https://cdn.skypack.dev/@vinayakkulkarni/v-intl';
</script>

README

V-Intl ๐ŸŒ

Built with Janak CI Pipeline ShipJS Trigger GitHub package.json version (branch) npm (tag) License David David npm Maintenance GitHub contributors npm (prod) dependency version npm dev dependency version npm dev dependency version npm dev dependency version

Intl in your dopeass Vue 3 apps ๐Ÿ‘จโ€๐Ÿ”ง

Demo

Edit v-intl

Usage

In the docs ๐Ÿ““

Background

The package exposes 5 Intl components, viz.,

Formatter What it does? More Info
VIntlListFormat Enables language-sensitive list formatting. Read More
VIntlNumberFormat Enable language sensitive number formatting. Read More
VIntlDateTimeFormat Formats the Date & Time. Read More
VIntlRelativeTimeFormat Create a relative time formatter in specified locale. Read More
VIntlDisplayNames Translates region, language, currency, script. Read More

They're are tree-shakable, meaning, you don't need to bulk up your bundle by including all the components. I've tried to keep the API as consistent as possible.

Author

v-intl © Vinayak, Released under the MIT License.
Authored and maintained by Vinayak Kulkarni with help from contributors (list).

vinayakkulkarni.dev ยท GitHub @vinayakkulkarni ยท Twitter @_vinayak_k