You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

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


Version published
Weekly downloads
850
decreased by-11.46%
Maintainers
1
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

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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc