Helper library for node-rs
npm install @node-rs/helper@node-rs/helper

> Helper library for load native package.
Load native binding file from dirname
``ts`
loadBinding(dirname: string, filename?: string = 'index', packageName?: string): string
- dirname, dirname which the .node binding file locatedfilename
- , the napi.name filed in you package.jsonpackageName
- , the name filed in your package.json, @swc/core for example.
- return native module
`ts
const { loadBinding } = require('@node-rs/helper')
module.exports = loadBinding(__dirname, 'swc', '@swc/core')
``