Skip to content

vinayakkulkarni/v-intl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Continuous Integration CodeQL Ship js trigger GitHub release (latest SemVer) npm npm npm bundle size (version) npm type definitions DeepScan grade Snyk Vulnerabilities for GitHub Repo license GitHub contributors

eslint prettier vite vue typescript


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

Demo

Edit v-intl

Usage

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
VIntlDurationFormat Enables language-sensitive duration formatting. 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