@paymoapp/active-window

v2.1.1
NodeJS library using native modules to get the active window and some metadata (including the application icon) on Windows, MacOS and Linux.
node native active window

test

echo "Error: no test specified" && exit 1

install

prebuild-install -r napi || node-gyp rebuild

demo

ts-node --project tsconfig.json demo/index.ts

build

npm run clean && npm run build:ts && npm run build:gyp

build:ts

tsc --project tsconfig.build.json

build:gyp

node-gyp rebuild

prebuild

prebuild --all -r napi --strip

clean

node-gyp clean && rimraf dist

typecheck

tsc --noEmit

lint

esw --color --ext .ts src demo

lint:fix

esw --color --fix --ext .ts src demo

lint:watch

esw --color --fix --watch --cache --ext .ts src demo

format

prettier --write src demo

release

standard-version

release:pre

standard-version --prerelease

generate:readme-toc

markdown-toc -i --bullets="-" --maxdepth=4 README.md
npm i @paymoapp/active-window

Metadata

  • MIT
  • Whatever
  • Paymo SRL
  • released 5/23/2024

Downloads

Maintainers