Skip to content
JS
Package

arch

Better `os.arch()` for node and the browser -- detect OS architecture

v3.0.0, 12 Feb 2024MITCommonJSTypes: BundledNode.js utilities
$ npm install arch

Key numbers

As of 25 Sept 2026
Weekly downloads
10.9m
+19% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
2 years ago
v3.0.0
GitHub stars
81
13 forks
Open issues / PRs
6 / 4
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020m40m60mSept 2025Mar 2026Sept 2026High 48.9m (3 Feb 2026)Low 9.3m (21 Oct 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

10,943,504 downloads last week, 55,243,801 in the last month. The 12-month change of +19% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
010 in total
Latest version
3.0.0, 12 Feb 20242 years ago
First published
19 Oct 2011
Last push to GitHub
13 Feb 2024954 days before the snapshot
Repository archived
No
Open issues
6
Open pull requests
4
Commits, last 52 weeks
0
Dependents on npm
127

Major versions

  1. v3 first release 3.0.0, 12 Feb 2024
  2. v2 first release 2.0.0, 18 Sept 2016
  3. v1 first release 1.0.0, 16 Sept 2016
  4. v0 first release 0.0.1, 19 Oct 2011

Recent releases

VersionPublished
3.0.012 Feb 2024
2.2.027 Oct 2020
2.1.210 May 2020
2.1.19 Jun 2018
2.1.010 Jan 2017
2.0.018 Sept 2016
1.0.116 Sept 2016
1.0.016 Sept 2016
0.0.219 Oct 2011
0.0.119 Oct 2011
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
9.0 kB
Dependencies (0)
None
npm install arch
  • jsDelivrhttps://cdn.jsdelivr.net/npm/arch@3.0.0/
  • unpkghttps://unpkg.com/arch@3.0.0/
  • esm.shhttps://esm.sh/arch@3.0.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.