Socket
Socket
Sign inDemoInstall

bcp47

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Protect your apps from supply chain attacks

Install

bcp47

Parser for the BCP 47 language tag specification

    1.1.2latest
    GitHub
    npm

Version published
Maintainers
1
Weekly downloads
220,149
increased by3.55%

Weekly downloads

Readme

Source

bcp47

Parser for the BCP 47 language tag specification

npm travis coveralls

BCP 47

module.parse(tag) : Object
Parses the language tag and returns an object with all the available information. If the tag is not valid it returns null. Look at the examples folder to see what information returns.

Keywords

FAQs

Last updated on 06 Feb 2015

Did you know?

Socket installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the 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