Have ideas to improve npm?Join in the discussion! »

i18n-yummy

0.2.1 • Public • Published

i18n-yummy

The i18n tag function

donate License: ISC

Related post. Warning the current function is different from the post one. It's now fault tolerant and it supports a better database structure.

You can use this module to bring in i18n in your project.

  • CommonJS version available as package.json main entry
  • ECMAScript 2015 version available as package.json module entry
  • Browser version available as both index.js and min.js

How to

You need to specify a default i18n.locale = 'en' language and a valid i18n.db = {...} database.

You can use i18n utilities to setup a database parsing your projects files.

Install

npm i i18n-yummy

DownloadsWeekly Downloads

2

Version

0.2.1

License

ISC

Unpacked Size

4.3 kB

Total Files

8

Last publish

Collaborators

  • avatar