node-dump-syms
Version:
Neon wrapper for Mozilla's dump_syms
16 lines (15 loc) • 494 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.dumpSyms = void 0;
const nodeDumpSyms = require('../native/index.node');
function dumpSyms(inputPath, outputPath) {
// TODO BG support other options here
if (!inputPath) {
throw new Error('inputPath is required');
}
if (!outputPath) {
throw new Error('outputPath is required');
}
return nodeDumpSyms.dumpSymbols([inputPath], outputPath);
}
exports.dumpSyms = dumpSyms;