0.2.1 • Published 9 years ago

node-lang-info v0.2.1

Weekly downloads
12
License
MIT
Repository
github
Last release
9 years ago

node-lang-info

Node.js module to retrieve current user's language

Installation

To install node-lang-info as a module into your project, type the following command.

npm install node-lang-info --save

Usage

Here is an example of how to use node-lang-info in your module

var lang_info = require('node-lang-info');

lang_info(function(err, lang) {
  if(err) {
    console.error(JSON.stringify(err, null, 2));
  }
  else {
    console.log('Current Locale: ' + lang);
  }
});

Requirements

0.2.1

9 years ago

0.2.0

9 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.0

10 years ago

0.0.1

10 years ago