https://github.com/napi-rs/callback-example
Example for the blog post https://napi.rs/blog/function-and-callbacks
https://github.com/napi-rs/callback-example
Last synced: 3 months ago
JSON representation
Example for the blog post https://napi.rs/blog/function-and-callbacks
- Host: GitHub
- URL: https://github.com/napi-rs/callback-example
- Owner: napi-rs
- License: mit
- Created: 2025-08-09T16:51:10.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-08-09T16:54:30.000Z (3 months ago)
- Last Synced: 2025-08-10T17:57:43.791Z (3 months ago)
- Language: Rust
- Size: 1.04 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NAPI-RS function demo
See the blog post for more details: https://napi.rs/blog/function-and-callbacks
## Build
```bash
yarn install
yarn build
```
## Run
```bash
node example.mjs
```
## Test
```bash
yarn test
```