Skip to content
JS
Package

lang-map

Get the language associated with a file extension or the extensions associated with a language using the data from GitHub's [Linguist YAML file](https://github.com/github/linguist/blob/master/lib/linguist/languages.yml)

v0.4.0, 19 Aug 2015MITCommonJSTypes: None
$ npm install lang-map

Key numbers

As of 25 Sept 2026
Weekly downloads
150.5k
+749% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
11 years ago
v0.4.0
GitHub stars
17
3 forks
Open issues / PRs
0 / 1
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
050k100k150k200kSept 2025Mar 2026Sept 2026High 167.7k (25 Aug 2026)Low 7.4k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

150,545 downloads last week, 604,105 in the last month. The 12-month change of +749% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
0.4.0, 19 Aug 201511 years ago
First published
-
Last push to GitHub
25 Jan 20221,703 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
14

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=0.10.0
Runtimes
-
Unpacked size (npm)
-
Dependencies (1)
language-map
npm install lang-map
  • jsDelivrhttps://cdn.jsdelivr.net/npm/lang-map@0.4.0/
  • unpkghttps://unpkg.com/lang-map@0.4.0/
  • esm.shhttps://esm.sh/lang-map@0.4.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.