nuclear-i18n

1.2.0 • Public • Published

nuclear-i18n

i18next wrapper with markdown support for Express applications.

Install

$ npm install nuclear-i18n

Usage

Pass your Express app object to the module just before setting up your router middleware.

require('./lib/i18n')(app)

The module will look for the locale files in public/locales/%{lng}/%{ns}.json. You can optionally pass a list of locale namespaces as a second argument.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.2.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.2.0
    0
  • 1.1.1
    0
  • 1.1.0
    1
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i nuclear-i18n

Weekly Downloads

1

Version

1.2.0

License

ISC

Last publish

Collaborators

  • elisee