[go: up one dir, main page]

Search results

92 packages found

Resolve the path of a module like `require.resolve()` but from the current working directory

published version 3.0.0, 6 years ago1617 dependents licensed under $MIT
123,750,475

Check if a path is the current working directory

published version 3.0.0, 3 years ago659 dependents licensed under $MIT
54,694,413

Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd.

published version 2.0.2, 8 years ago399 dependents licensed under $MIT
42,502,324

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

published version 3.0.0, 6 years ago393 dependents licensed under $MIT
15,604,937

Check if a path is in the current working directory

published version 4.0.0, 4 years ago206 dependents licensed under $MIT
27,171,276

Easily get the CWD (current working directory) of a project based on package.json, optionally starting from a given path. (node.js/javascript util)

published version 0.10.0, 9 years ago129 dependents licensed under $MIT
5,997,265

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

published version 2.0.0, 6 years ago183 dependents licensed under $MIT
6,356,312

Return the current working directory.

published version 0.2.2, 4 months ago73 dependents licensed under $Apache-2.0
1,785,265

Zero dependency library for reading and parsing various files from `procfs` for Node.js, implemented in pure JS.

published version 1.2.1, 5 years ago8 dependents licensed under $CC0-1.0
384,150

Base plugin that adds a getter/setter for the current working directory.

published version 0.3.4, 8 years ago9 dependents licensed under $MIT
125,869

A helper function to resolve a module name or path in relation to the specified context and require it.

published version 3.0.0, 13 days ago8 dependents licensed under $MPL-2.0
146,586

Provides a helper function to expand a path to a normalized absolute path. This function also expands dot, tilde, and tilde plus when used as the first path segment.

published version 3.0.0, 15 days ago19 dependents licensed under $MPL-2.0
161,584

Change working dir and return a promise, a stack of folders is maintained to jump back

published version 0.6.2, 7 years ago16 dependents licensed under $MIT
71,906

Get working directory of process by PID - cross platform

published version 1.2.0, 6 years ago3 dependents licensed under $MIT
65,455

Delete files and folders and any intermediate directories if they exist (sync and async).

published version 1.1.0, 7 years ago63 dependents licensed under $MIT
75,476

Attempt to resolve the absolute filepath to a file and verify that it exists.

published version 0.3.1, 9 years ago5 dependents licensed under $MIT
37,523

Get the current package's binary path

published version 11.0.0, a year ago7 dependents licensed under $Apache-2.0
7,690

`modern-errors` plugin to clean stack traces

published version 6.0.0, a year ago2 dependents licensed under $MIT
5,676

Meant to be used with [clean-stacktrace][] as mapper function. Makes absolute paths inside stack traces to relative paths.

published version 1.0.4, 8 years ago5 dependents licensed under $MIT
4,931

process.chdir() in a callback plus directory stacks

published version 0.0.0, 13 years ago21 dependents licensed under $MIT
3,613