https://github.com/sidneys/node-archs
List all archs (cpu architectures) currrently supported by NodeJS
https://github.com/sidneys/node-archs
Last synced: 15 days ago
JSON representation
List all archs (cpu architectures) currrently supported by NodeJS
- Host: GitHub
- URL: https://github.com/sidneys/node-archs
- Owner: sidneys
- License: mit
- Created: 2016-09-09T00:37:48.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-11T20:55:59.000Z (over 9 years ago)
- Last Synced: 2025-10-25T04:46:45.297Z (7 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# node-archs [](https://travis-ci.org/sidneys/node-archs) [](https://github.com/sidneys/node-archs/issues) [](https://gitter.im/sidneys/node-archs)
**List all [cpu architectures](https://nodejs.org/api/process.html#process_process_arch) currently supported by NodeJS.**
---
## Installation
```shell
$ npm install --save node-archs
```
## API
### Integration
```js
const nodeArchs = require('node-archs')
```
### Usage
The module exports an Array:
```js
console.log(nodeArchs)
['arm', 'arm64', 'ia32', ...]
```
## Content
This module reports the currently supported NodeJS architectures:
`arm`, `arm64`, `ia32`, `mips`, `mipsel`, `ppc`, `ppc64`, `s390`, `s390x`, `x32`, `x64`, `x86`
## License
MIT © [sidneys](http://sidneys.github.io)
## Related
Inspired by [node-platforms](https://github.com/sindresorhus/node-platforms)