loady

v0.0.5
dynamic loader for node.js
addon bindings c c++ gyp native waf

loady

Dynamic loader for node.js. Similar to node-bindings.

Usage

Scripts:

const addon = require('loady')('addon.node', __dirname);

Modules:

import loady from 'loady';

const addon = loady('addon.node', import.meta.url);

Contribution and License Agreement

If you contribute code to this project, you are implicitly allowing your code to be distributed under the MIT license. You are also implicitly verifying that all code is your original work. </legalese>

License

  • Copyright (c) 2019-2020, Christopher Jeffrey (MIT License).

See LICENSE for more info.

npm i loady

Metadata

  • MIT
  • >=8.0.0
  • Christopher Jeffrey
  • released 7/25/2020

Downloads

Maintainers