0.0.5 • Published 2 years ago

@tcardlab/rshook v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

rsHook

rudimentary ioHook replacement written in Rust for Node

THIS IS NOT THE MAIN README, THIS IS JUST THE NAPI-RS BRANCH see main branch README here

Build-Free Package (Win/Mac only)

npm i @tcardlab/rshook

Build Yourself

npm install -g @napi-rs/cli
npm i
npm run build
npm run demo

Basic Use:

  const { rsHook } = require('@tcardlab/rshook')
  const callback = (error, ...event) => console.log(event)
  rsHook(callback)