Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@nut-tree-fork/libnut-darwin

zachjw343.9kApache-2.02.7.4TypeScript support: included

libnut is an N-API module for desktop automation with node

GUI, Automation, mouse, keyboard, screenshot, image, desktop, screen, recognition, autohotkey

readme

Building

Please ensure you have the required dependencies before installing:

  • Windows
    • windows-build-tools npm package (npm install --global --production windows-build-tools from an elevated PowerShell or CMD.exe)
  • 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).

Release build

npm install
npm run build:release

Debug build

npm install
npm run build:debug