A JavaScript library for validating and working with BCP 47 language tags, based on BCP 47 (RFC 5646) and the latest IANA language subtag registry. It provides functions to check tag validity, look up language subtags, search subtags and tags by description, and format tags according to common conventions (case rules).
Project status
- The repository shows signs of maintenance activity, with an upstream push on 2025-07-07, but the most recent documented version updates in the provided history are from 2016 (v1.0.5 to v1.0.3), so the public update cadence appears low or unclear from this data alone.
- Update/release cadence appears sporadic: v1.0.3 (2015-07-09) is followed by v1.0.4 (2016-01-11) and v1.0.5 (2016-01-12), after which there are no further provided update entries.
AI summary generated Today
Recent updates
v1.0.5
1/12/2016Release v1.0.5 makes changes to how subtags are returned for redundant language tags, and adds convenience APIs to access specific subtag types (language, region, script). It also adjusts the sorting logic used by `tags.search` and updates test tooling, including CI Node versions.
BreakingFeaturesv1.0.4
1/11/2016Release v1.0.4 makes notable changes to the library's tag search behavior, including how queries are interpreted and how results are ordered. It also updates test expectations for specific language tag metadata, implying changes to underlying tag data/definitions. No release notes were provided to document these changes.
v1.0.3
7/9/2015Release v1.0.3 was published on 2015-07-09, but no release notes were provided by the publisher. Because the release notes content is missing, there is no documented information about new features, bug fixes, breaking changes, or security updates.
v1.0.2
3/24/2014Release v1.0.2 contains no publisher-provided release notes. The actual diff changes build and test tooling (coverage generation and test command options) and updates the runtime dependency on language-subtag-registry to a newer semver range.
Breakingv1.0.0
9/29/2013v1.0.0 introduces an external dependency, language-subtag-registry, as the source of all BCP 47 JSON data instead of bundling the IANA-derived datasets in this repository. The release notes field is empty, so the substantial refactor (removing local data and importer tooling) is effectively undocumented.
v0.1.0
9/28/2013v0.1.0 appears to be a major data update and internal refactor compared to v0.0.3, with a large number of JSON dataset changes (tens of thousands of line edits) and new unit tests. The release notes section is empty, so developers effectively have no documented description of what changed behaviorally.
v0.0.3
5/22/2013Release v0.0.3 has no provided release notes. The code diff shows the package version bump plus regeneration/re-serialization of the bundled language-tag JSON data files, primarily changing JSON formatting (whitespace and indentation) rather than values.
v0.0.2
5/22/2013Release v0.0.2 updates build/cleanup behavior and adjusts the importer pipeline trigger used before running the conversion step. No release notes were provided, so behavior changes must be inferred from the code diff.
Breakingv0.0.1
5/22/2013Release v0.0.1 was published on 2013-05-22. No release notes were provided by the publisher, so there is no documented information about features, fixes, or compatibility changes to assess.