devsite/node_modules/resolve/example/async.js
2024-07-07 18:49:38 -07:00

6 lines
155 B
JavaScript

var resolve = require('../');
resolve('tap', { basedir: __dirname }, function (err, res) {
if (err) console.error(err);
else console.log(res);
});