1.0.1 • Published 7 years ago
resolve-async v1.0.1
resolve-async
Typed async resolve function
// @flow
import resolveAsync from 'resolve-async';
resolveAsync('./file.js', { basedir: __dirname }).then(filePath => {
console.log(filePath); // "/path/to/file.js"
});