bcp47

1.1.2 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.2
    553,447
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.2
    553,447
  • 1.1.1
    5
  • 1.1.0
    3
  • 1.0.1
    4
  • 1.0.0
    5
  • 0.0.1
    4

Package Sidebar

Install

npm i bcp47

Weekly Downloads

165,273

Version

1.1.2

License

MIT

Last publish

Collaborators

  • gagle