i18n-min

1.0.0 • Public • Published

i18n-min Build Status

Install

$ npm install --save i18n-min  
$ bower install --save i18n-min

Usage

// simple
i18n({ one: 'One' });
i18n.t('one');
//=> One
 
// nested
i18n({
  one: {
    two: 'Two'
  }
});
i18n.t('one.two');
//=> Two
 
// with data
i18n({ hello: 'Hello __world__ !' });
i18n.t('hello', { world: 'World' });
//=> Hello World !
 

License

MIT © Selectica

Dependents (0)

Package Sidebar

Install

npm i i18n-min

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • butuzgol