Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

loady

chjj44.8kMIT0.0.5

dynamic loader for node.js

addon, bindings, c, c++, gyp, native, waf

readme

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.