🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

iso-639-3-to-1

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iso-639-3-to-1

Convert iso 639-3 to 639-1 language code

1.0.0
latest
npm
Version published
Weekly downloads
1.3K
6.95%
Maintainers
1
Weekly downloads
 
Created
Source

iso-639-3-to-1 Build Status

Converting between iso-639-3 to iso-639-1 language codes. For languages without iso-639-1 which have a "macro language", It will return the "macro language" iso-639-1 code (if exists)

Installation

npm:

npm install --save iso-639-3-to-1

Usage

const convert3To1 = require('iso-639-3-to-1')
let iso639code = 'cmn';
let result = convert3To1(iso639code);
// result = 'zh'

License

MIT © Amitbend

Keywords

iso

FAQs

Package last updated on 16 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts