Displaying 1 to 6 from 6 results

resolve-cwd - Resolve the path of a module like `require

  •    Javascript

Like require(), throws when the module can't be found.Returns null instead of throwing when the module can't be found.

resolve-pkg - Resolve the path of a package regardless of it having an entry point

  •    Javascript

Some packages like CLI tools and grunt tasks don't have a entry point, like "main": "foo.js" in package.json, resulting in them not being resolvable by require.resolve(). Unlike require.resolve(), this module also resolves packages without an entry point, returns null instead of throwing when the module can't be found, and resolves from process.cwd() instead __dirname by default.What you would use in require().

hyperterm-working-directory - 🖥👷📂 Adds a default working directory setting

  •    Javascript

🖥👷📂 Adds a default working directory setting. Opens new tabs using that working directory.That's it. If config.workingDirectory is not set, a default value of $HOME will be used.

import-cwd - Import a module like with `require()` but from the current working directory

  •    Javascript

Like require(), throws when the module can't be found.Returns null instead of throwing when the module can't be found.




cwd - Get the current working directory relative to the calling module.

  •    Javascript

This document was generated by verb, please don't edit directly. Any changes to the readme must be made in .verb.md. See Building Docs. Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.