the-loc
Locale resolver for the-framework
Installation
$ npm install the-loc --save
Usage
Create a directory with name "loc" and put locale files like "en.json" there.
loc/en.json
loc/index.js
'use strict' const create: theLoc = const env = moduleexports = env
Then,
'use strict' // Require defined localesconst loc = let en = locconsole // -> "Welcome to hello-world!"
API Guide
License
This software is released under the MIT License.