Brooooooklyn / notify

https://github.com/notify-rs/notify Node.js binding via https://napi.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@napi-rs/notify

https://github.com/Brooooooklyn/notify/actions

notify Node.js binding via napi-rs.

Install this package

yarn add @napi-rs/notify

Support matrix

Operating Systems

node12 node14 node16
Windows x64
Windows x32
Windows arm64
macOS x64
macOS arm64
Linux x64 gnu
Linux x64 musl
Linux arm gnu
Linux arm64 gnu
Linux arm64 musl
Android arm64
FreeBSD x64

API

const unwatch = watch('/some/path/to/watch', (err: Error | null, event: NotifyEvent) => {
  // some logic
})

unwatch() // unwatch later

About

https://github.com/notify-rs/notify Node.js binding via https://napi.rs

License:MIT License


Languages

Language:Rust 66.9%Language:TypeScript 19.7%Language:JavaScript 11.3%Language:Shell 2.0%