about summary refs log blame commit diff stats
path: root/pkgs/by-name/tr/tree-sitter-yts/bindings/node/index.js
blob: 32179742a49d7fc0cb2bd6413e6ec46c3ddf0912 (plain) (tree)

















                                                                          
try {
  module.exports = require("../../build/Release/tree_sitter_yts_binding");
} catch (error1) {
  if (error1.code !== "MODULE_NOT_FOUND") {
    throw error1;
  }
  try {
    module.exports = require("../../build/Debug/tree_sitter_yts_binding");
  } catch (error2) {
    if (error2.code !== "MODULE_NOT_FOUND") {
      throw error2;
    }
    throw error1;
  }
}

try {
  module.exports.nodeTypeInfo = require("../../src/node-types.json");
} catch (_) {}