Files
libloot/nodejs/README.md
T

23 lines
459 B
Markdown
Raw Permalink Normal View History

2025-04-21 17:41:49 +01:00
# libloot-nodejs
2025-06-15 20:12:24 +01:00
An **experimental** Node.js wrapper around the libloot Rust implementation, built using [NAPI-RS](https://napi.rs/).
2025-04-21 17:41:49 +01:00
## Build
To build, first install Rust and Node.js, then run:
```
npm install
npm run build
```
The tests can be run using:
```
npm test
```
## Usage notes
2025-06-15 20:12:24 +01:00
- All errors are thrown as JavaScript `Error` values. The error message is the concatenated display text of all the recursive Rust errors from the libloot crate.