gagle / node-bcp47

Parser for the BCP 47 language tag specification.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Parser for the BCP 47 language tag specification.

License:MIT License


Languages

Language:JavaScript 100.0%