loady

0.0.5 • Public • Published

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.

Package Sidebar

Install

npm i loady

Weekly Downloads

10,535

Version

0.0.5

License

MIT

Unpacked Size

5.3 kB

Total Files

4

Last publish

Collaborators

  • chjj
  • nodweber