work.suroh.tk/node_modules/resolve/example/sync.js

4 lines
103 B
JavaScript
Raw Normal View History

2019-12-02 12:22:45 +00:00
var resolve = require('../');
var res = resolve.sync('tap', { basedir: __dirname });
console.log(res);