Package
arch
Better `os.arch()` for node and the browser -- detect OS architecture
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
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
- v3 first release 3.0.0, 12 Feb 2024
- v2 first release 2.0.0, 18 Sept 2016
- v1 first release 1.0.0, 16 Sept 2016
- v0 first release 0.0.1, 19 Oct 2011
Recent releases
| Version | Published |
|---|---|
| 3.0.0 | 12 Feb 2024 |
| 2.2.0 | 27 Oct 2020 |
| 2.1.2 | 10 May 2020 |
| 2.1.1 | 9 Jun 2018 |
| 2.1.0 | 10 Jan 2017 |
| 2.0.0 | 18 Sept 2016 |
| 1.0.1 | 16 Sept 2016 |
| 1.0.0 | 16 Sept 2016 |
| 0.0.2 | 19 Oct 2011 |
| 0.0.1 | 19 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- jsDelivr
https://cdn.jsdelivr.net/npm/arch@3.0.0/ - unpkg
https://unpkg.com/arch@3.0.0/ - esm.sh
https://esm.sh/arch@3.0.0
Indexability: Indexed.