You can try 3 following options:
1) Run node cli and type there:
require('os').arch()
3) Or type there:
process.arch
3) Or type there:
process.env.PROCESSOR_ARCHITECTURE
One of them will work for sure! (The latest one doesn't work on my Macbook but does on Win10 machine)
Comments (0)
RSS Collapse / ExpandOnly registered and authorized users can leave comments. Login or Register