@the-/loc

15.4.15 • Public • Published

@the-/loc

npm Version

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

See API Guide for more detail

License

This software is released under the MIT License.

Links

Readme

Keywords

Package Sidebar

Install

npm i @the-/loc

Weekly Downloads

1

Version

15.4.15

License

MIT

Unpacked Size

99.3 kB

Total Files

30

Last publish

Collaborators

  • okunishinishi