language-name

0.3.0 • Public • Published

Language Name

Simple getter for language names in its language (backed by a script that dumps data direct from the CLDR).

Install

npm i language-name --save

Usage

import languageName from "language-name";
 
// languageName( LANGUAGE SUBTAG )
languageName("en"); // United States
languageName("de"); // Deutsch
languageName("ja"); // 日本語

Contributing

Pull requests are always welcome.

Package Sidebar

Install

npm i language-name

Weekly Downloads

0

Version

0.3.0

License

MIT

Last publish

Collaborators

  • mehcode