@rsbind/object
v0.1.2
Published
Node.js bindings to Rust object
Downloads
2
Maintainers
Readme
@rsbind/object
Node.js bindings to Rust object.
Currently, only a small set of APIs are exported.
Installation
npm i @rsbind/object
Example
const fs = require('fs')
const { File } = require('@rsbind/object')
const file = new File(fs.readFileSync(process.execPath))
console.log(file.symbols()[0])
// {
// index: 0,
// name: '__ZN4node10AsyncHooks18push_async_contextEddN2v85LocalINS1_6ObjectEEE',
// address: 4294986000,
// kind: 'Text'
// }
API
See index.d.ts