18n
A simple i18n module
Install
$ npm install 18n
Usage
18n
will read the configuration from the 18n.config.js
in your package root.
Configuration
// 18n.config.jsmoduleexports = langPath: 'languages' langPacks: 'en-us' 'zh-cn' { const language = navigator; };
License
MIT © LitoMore