tree-sitter-html/index.js

14 lines
302 B
JavaScript
Raw Normal View History

try {
module.exports = require("./build/Release/tree_sitter_html_binding");
} catch (error) {
try {
module.exports = require("./build/Debug/tree_sitter_html_binding");
} catch (_) {
throw error
}
}
2019-06-07 21:48:48 +00:00
try {
module.exports.nodeTypeInfo = require("./src/node-types.json");
} catch (_) {}