sindresorhus/resolve-from
Auf GitHub ansehenFrom version Node v8.9.0, require.resolve() accepts custom paths
Open
#8 geöffnet am 31. Okt. 2017
enhancementhelp wanted
Beschreibung
See the new require.resolve.paths(request) and the updated require.resolve(request[, options]).
resolve-from can use these new exposed functions instead of accessing private functions of Module.
Of course, only when they are available.