This repository has been archived on 2024-07-06. You can view files and clone it, but cannot push or open issues or pull requests.
rebory/test/index.mjs
Matheus Sampaio Queiroga e00aee7960
All checks were successful
Test / test_cross (20.x) (push) Successful in 1h8m54s
Test / test_cross (21.x) (push) Successful in 1h9m2s
Test / test_cross (18.x) (push) Successful in 1h9m32s
Test / test_cross (19.x) (push) Successful in 1h9m53s
init new target set avaible on build
Signed-off-by: Matheus Sampaio Queiroga <srherobrine20@gmail.com>
2024-03-18 22:31:59 -03:00

7 lines
264 B
JavaScript

#!/usr/bin/env node
import path from "node:path";
import { fileURLToPath } from "node:url";
import { loadAddon } from "rebory";
const add = await loadAddon(path.join(path.dirname(fileURLToPath(import.meta.url)), "binding.yaml"));
console.log(add.addon.require());