@the-/loc
Locale resolver for the-framework
Installation
$ npm install @the-/loc --save
Usage
'use strict'
// Require defined locales
const loc = require('./loc/index')
const en = loc.bind('en')
console.log(en('titles.WELCOME_TITLE')) // -> "Welcome to hello-world!"
API Guide
- module:@the-/loc
- module:@the-/loc.helpers
- TheLoc
See API Guide for more detail
License
This software is released under the MIT License.