Skip to content

vinayakkulkarni/v-intl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2,378 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pipeline Doctor GitHub release npm JSR npm downloads bundle size types License

vite-plus typescript pnpm node


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

About

Native Intl-based i18n components for Vue 3 — number, date, currency, relative time, and list formatting with zero runtime overhead.

Topics

Resources

License

Code of conduct

Stars

15 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors