Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chjj/loady
dynamic loader for node.js
https://github.com/chjj/loady
Last synced: 16 days ago
JSON representation
dynamic loader for node.js
- Host: GitHub
- URL: https://github.com/chjj/loady
- Owner: chjj
- License: other
- Created: 2019-03-21T20:54:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-06-27T17:25:23.000Z (over 2 years ago)
- Last Synced: 2024-10-20T01:14:56.724Z (24 days ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 2
- Watchers: 3
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# loady
Dynamic loader for node.js. Similar to [node-bindings].
## Usage
Scripts:
``` js
const addon = require('loady')('addon.node', __dirname);
```Modules:
``` js
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. ``## License
- Copyright (c) 2019-2020, Christopher Jeffrey (MIT License).
See LICENSE for more info.
[node-bindings]: https://github.com/TooTallNate/node-bindings