mirror of
https://github.com/Mintplex-Labs/libnut-core.git
synced 2026-06-29 21:43:21 -04:00
develop
Building
Please ensure you have the required dependencies before installing:
- Windows
- windows-build-tools npm package (
npm install --global --production windows-build-toolsfrom an elevated PowerShell or CMD.exe)
- windows-build-tools npm package (
- Mac
- Xcode Command Line Tools.
- Linux
- cmake
- A C/C++ compiler like GCC.
- libxtst-dev and libpng++-dev (
sudo apt-get install libxtst-dev libpng++-dev).
Build
npm install
npm run build
Release build
npm run npm:prepare
This will push @mintplex-labs/libnut-{platform}-{arch} to npm registry. When on ARM Windows, it will push @mintplex-labs/libnut-winarm64 to npm registry.
Description
Languages
C
40.2%
C++
24.1%
JavaScript
12.5%
Objective-C
10.2%
Objective-C++
8.3%
Other
4.7%