sindresorhus/resolve-from
Ver no GitHubFrom version Node v8.9.0, require.resolve() accepts custom paths
Open
#8 aberto em 31 de out. de 2017
enhancementhelp wanted
Métricas do repositório
- Stars
- (145 stars)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
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.