i18n-xlocale

0.0.1 • Public • Published

cors-express

Middleware to control i18n middleware based on a X-Locale header

Can see here more info about i18n original middleware

Installation

The best way to install it is using npm

npm install 18n-xlocale --save

Loading

var i18n = require('18n-xlocale');

Initialization and Usage

var app = express(),
    options = {};
 
i18n.configure(options)
app.use(i18n.use);

Options

You can see all available options in the original package: i18n

Support

This plugin is proudly supported by Kubide hi@kubide.es

Readme

Keywords

Package Sidebar

Install

npm i i18n-xlocale

Weekly Downloads

22

Version

0.0.1

License

MIT

Last publish

Collaborators

  • jolorenzom
  • gelito
  • dev.kubide