i18not
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

i18not

Minimalist i18n library.

npm npm NPM

Are you a React.js user? You might be interested in the react-i18not package.

Example usage

import { init } from 'i18not';

init({
  ns: ['main'],
  defaultNS: 'main',
  load: 'languageOnly',
  loadPath: '/locales/{{lng}}/{{ns}}.json',
  fallbackLng: 'en',
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.2
    5
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.2
    5
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i i18not

Weekly Downloads

5

Version

0.1.2

License

BSD-3-Clause-Clear

Unpacked Size

9.14 kB

Total Files

7

Last publish

Collaborators

  • mat-sz