Constnium/node_modules/resolve/example/sync.js
2022-06-23 02:27:43 +02:00

3 lines
103 B
JavaScript

var resolve = require('../');
var res = resolve.sync('tap', { basedir: __dirname });
console.log(res);