Bscan is a library for Node.js that provides information about the hardware and software of a computing device. Allowing Developers to utilize scanning capabilities in their web applications
- Hardwares get information about RAM, CPU, Disk...
- Softwares get information about operating system and installed applications
View the changelog for the latest updates and changes by version.
Binary downloads are available from the BWC downloads page or from each GitHub Releases page.
BScan requires C++ version 17 or newer, the CMakelists requires GNU cmake.
-
Install Node.js >=8.0.0 (16.11 recommended)
-
Install Python >=2.6.0 (3.9.0 recommended)
-
Clone the BScan repository:
git clone https://github.com/BarcaWebCloud/bscan.git
-
Run
cmake CMakeLists.txt
from the source directorycd bscan cmake CMakeLists.txt
-
Now run
make all
ormake bscan
to compile the main program
-
Install required
npm
packagesnpm install
-
Generate boilerplate in the root directory of bscan module
node-gyp configure
-
Now to build bscan native we will need to run the command to generates a DLL file with
.node
extension. This file will be placed inside build/Release directorynode-gyp build
Create a javascript file to call the module
// main.js
const bscan = require("./build/Release/bscan.node");
console.log(bscan.info())
Now run the program
node main.js
For documentation on the latest development code see the documentation index.
There are many ways to contribute:
- Fix and report bugs
- Review code and feature proposals
- Answer questions and discuss here on github and on the Community Site
- Contribute plugins