Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 15, 2024 via pnpm

language-tags 1.0.9

Work with IANA language tags.
Package summary
Share
1
issue
1
low severity
license
1
2
licenses
1
CC0-1.0
1
MIT
Package created
22 May 2013
Version published
16 Aug 2023
Maintainers
1
Total deps
2
Direct deps
1
License
MIT

Issues

1

1 low severity issue

low
Recommendation: Read and validate the license terms
via: language-subtag-registry@0.3.22
Collapse
Expand

Licenses

Creative Commons Zero v1.0 Universal

Public Domain
Not OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
Cannot
Must
1 Packages, Including:
language-subtag-registry@0.3.22

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
language-tags@1.0.9
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

1
All Dependencies CSV
β“˜ This is a list of language-tags 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
language-subtag-registry0.3.22192.49 kBCC0-1.0
prod
1

Visualizations

Frequently Asked Questions

What does language-tags do?

"Language-tags" is an exceptional npm package that is primarily designed to work with IANA language tags. Its functionality is based on BCP 47 (RFC 5646) and the most recent IANA language subtag registry. The package is actively updated to keep pace with changes in the standards, ensuring it always provides accurate and up-to-date information.

How do you use language-tags?

In order to utilize the "language-tags" package, you first need to install it via npm: npm install language-tags. After installation, you import it into your JavaScript file as follows:

var tags = require('language-tags');

Once imported, several methods become available to you.

For instance, to check whether a tag is valid, you can use:

tags.check('en'); // this returns true if valid, false otherwise

To search for tags and subtags based on their descriptions:

tags.search('English'); 

This returns an array of Subtag and Tag objects or an empty array if no results were found.

A full list of available methods and their usage examples can be found in the package documentation.

Where are the language-tags docs?

For comprehensive information about the "language-tags" package, you can refer to the documentation available on GitHub. The document provides an in-depth explanation of the APIs, methods, and functionalities available in the package. It also contains examples showing how to leverage the package in coding scenarios. Overall, this documentation serves as an excellent resource for learning how to use the "language-tags" package effectively.