https://github.com/marrus-sh/langtag
🌐🏷 A RegExp‐based BCP47 parser.
https://github.com/marrus-sh/langtag
bcp-47 bcp47 coffeescript coffeescript2 javascript
Last synced: 4 months ago
JSON representation
🌐🏷 A RegExp‐based BCP47 parser.
- Host: GitHub
- URL: https://github.com/marrus-sh/langtag
- Owner: marrus-sh
- License: gpl-3.0
- Created: 2018-10-29T23:09:22.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-29T23:53:28.000Z (over 7 years ago)
- Last Synced: 2025-02-03T11:50:48.521Z (about 1 year ago)
- Topics: bcp-47, bcp47, coffeescript, coffeescript2, javascript
- Language: CoffeeScript
- Homepage: https://go.KIBI.family/langtag/
- Size: 38.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.js
- Changelog: CHANGELOG.md
- License: COPYING
Awesome Lists containing this project
README
/*
# langtag #
🌐🏷 A RegExp‐based BCP47 parser
___
Copyright (C) 2018 Kyebego
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
The GNU General Public License is available online at
.
___
## Usage:
Simply pass the `BCP47()` constructor a language tag.
var bcp47 = new BCP47("en-CA");
*/