CoolFace
Apppublic

aravagarwal/CodeCloakPII

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes
index.js20 linesDownload Raw Back to node
1try {2  module.exports = require("../../build/Release/tree_sitter_python_binding");3} catch (error1) {4  if (error1.code !== "MODULE_NOT_FOUND") {5    throw error1;6  }7  try {8    module.exports = require("../../build/Debug/tree_sitter_python_binding");9  } catch (error2) {10    if (error2.code !== "MODULE_NOT_FOUND") {11      throw error2;12    }13    throw error114  }15}16 17try {18  module.exports.nodeTypeInfo = require("../../src/node-types.json");19} catch (_) {}20