UNPKG

node-dump-syms

Version:
16 lines (15 loc) 494 B
"use strict"; 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;