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',
});

Package Sidebar

Install

npm i i18not

Weekly Downloads

7

Version

0.1.2

License

BSD-3-Clause-Clear

Unpacked Size

9.14 kB

Total Files

7

Last publish

Collaborators

  • mat-sz