Skip to content
This repository has been archived by the owner on Nov 22, 2020. It is now read-only.

vweevers/build-arch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

build-arch

Wraps os.arch() to distinguish ARM versions. Meant for selecting an appropriate prebuilt binary.

npm status node Travis build status JavaScript Style Guide

Usage

const arch = require('build-arch')

console(arch())

The current possible values are: 'armv8', 'armv7', 'armv6', 'ia32', 'mips', 'mipsel', 'ppc', 'ppc64', 's390', 's390x', 'x32' and 'x64'.

Install

With npm do:

npm install build-arch

License

MIT © 2018-present Vincent Weevers. Thanks to zeromq.

About

Wraps os.arch() to distinguish ARM versions. Flawed; don't use this.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published