@tcardlab/rshook
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

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)

Readme

Keywords

none

Package Sidebar

Install

npm i @tcardlab/rshook

Weekly Downloads

2

Version

0.0.5

License

MIT

Unpacked Size

15 kB

Total Files

10

Last publish

Collaborators

  • tcardlab