Join us to discuss the challenges, solutions and best practices for in-house JavaScript code sharing. Tuesday, 12/17 at 10am PT/1pm ET.Sign up here »

i18nc-key-combo

1.0.6 • Public • Published

I18NC-KEY-COMBO

NPM Version NPM Downloads NPM License

Install

npm install i18nc i18nc-key-combo --save

Usage

var i18nc = require('i18nc');
require('i18nc-key-combo')(i18nc);
 
var info = i18nc('"中文"+11+I18N("词典")',
{
  pluginEnabled: {keyCombo: true},
  pluginSettings: {keyComboMode: 'I18N'}
});
 
console.log(info.code);  // I18N('中文11词典')

Install

npm i i18nc-key-combo

DownloadsWeekly Downloads

19

Version

1.0.6

License

MIT

Unpacked Size

14.3 kB

Total Files

3

Last publish

Collaborators

  • avatar