Socket
Socket
Sign inDemoInstall

iso-639-3-to-1

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

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


Version published
Weekly downloads
1.6K
increased by88.91%
Maintainers
1
Install size
1.45 MB
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 16 Sep 2018

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc