node-yuma123
Version:
Node.js bindings for the Yuma123 library
11 lines (9 loc) • 305 B
JavaScript
const fs = require("fs");
if(!fs.existsSync("/usr/include/yuma")) {
console.error("Yuma123 not found at path: /usr/include/yuma")
process.exit(1);
}
if(!fs.existsSync("/usr/include/yuma/yangrpc")) {
console.error("Yangrpc not found at path: /usr/include/yuma/yangrpc")
process.exit(1);
}