is-language-code 5.0.2

Is given string a language code (as per IANA)

is-language-code@5.0.2 was published on 2022-12-06. Its manifest declares 0 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=14.18.0.

All is-language-code versions · Permanent reference to 5.0.2 · Latest release

Package specifications

Version5.0.2
License declarationMIT
Published2022-12-06T12:30:59.213Z
Node.js requirement>=14.18.0
Type declarationsBundled declarations
Runtime dependency count0
Peer requirement count0
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size122.91 KiB
Published file count7
Package typemodule
ES module entryNot declared
Default entryNot declared
Side effects declarationNot declared
Direct advisories0
Resolved graph dependenciesUnknown
Repository stars214
Repository forks25

Install is-language-code 5.0.2

npm install is-language-code@5.0.2
pnpm add is-language-code@5.0.2
yarn add is-language-code@5.0.2

Runtime dependencies

  • None declared

Peer requirements

  • None declared

Optional dependencies

  • None declared

How to interpret the specifications

Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

OpenSSF repository checks

Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.

Maintained10/10 — 30 commit(s) and 11 issue activity found in the last 90 days -- score normalized to 10
Code-Review0/10 — Found 0/23 approved changesets -- score normalized to 0
Dangerous-Workflow10/10 — no dangerous workflow patterns detected
CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
Token-Permissions10/10 — GitHub workflow tokens follow principle of least privilege
Security-Policy0/10 — security policy file not detected
Binary-Artifacts10/10 — no binaries found in the repo
License10/10 — license file detected
Pinned-Dependencies10/10 — all dependencies are pinned
Branch-Protection3/10 — branch protection is not maximal on development and all release branches
SAST0/10 — SAST tool is not run on all commits -- score normalized to 0
Fuzzing0/10 — project is not fuzzed

Evidence and freshness