0.0.1 • Published 8 years ago

i18n-xlocale v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

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