Sha256: 6f2b0b120453dc1821229e426393b08e526207a6036cfae6cd9fd44a9ef96320
Contents?: true
Size: 585 Bytes
Versions: 26
Compression:
Stored size: 585 Bytes
Contents
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.callback = exports.promise = void 0; const walker_1 = require("./walker"); function promise(root, options) { return new Promise((resolve, reject) => { callback(root, options, (err, output) => { if (err) return reject(err); resolve(output); }); }); } exports.promise = promise; function callback(root, options, callback) { let walker = new walker_1.Walker(root, options, callback); walker.start(); } exports.callback = callback;
Version data entries
26 entries across 26 versions & 1 rubygems