resolve-cwd
Last updated
Was this helpful?
Last updated
Was this helpful?
Resolve the path of a module like but from the current working directory
Like require()
, throws when the module can't be found.
Returns null
instead of throwing when the module can't be found.
Type: string
What you would use in require()
.
- Resolve the path of a module from a given path
- Require a module from a given path
- Require a module from the current working directory
- Resolve the path of a package regardless of it having an entry point
- Require modules lazily
MIT ©