0.0.1-m • Published 7 years ago
exe-arch v0.0.1-m
exe-arch
Simple module to get architecture of an exe file
Returns "64bit" in case of a 64 bit executable, "32bit" in case of 32 bit, "unknown" in case something's wrong and null
when the file passed is not an exe file
How to use :
- Install module using
npm install exe-arch
- Require the module
var ea = require('exe-arch')
- That's it! Call
ea()
with your exe file's path as it's argument and wait for it to do the magic.