tree-sitter-d2/bindings/node/index.js

8 lines
201 B
JavaScript
Raw Permalink Normal View History

2024-07-12 20:36:24 +03:00
const root = require("path").join(__dirname, "..", "..");
module.exports = require("node-gyp-build")(root);
2022-12-04 00:07:26 +03:00
try {
module.exports.nodeTypeInfo = require("../../src/node-types.json");
} catch (_) {}