Search results

178 packages found

file path utils for the browser and node.js

published 0.0.4 8 years ago
M
Q
P

🌟 An npm module that strongly types file paths! 🥊

published 1.0.1 9 months ago
M
Q
P

Localized and configureable async and sync `requre.resolve()` implementation.

published 0.2.4 9 years ago
M
Q
P

A convenient way for changing parts of filepath.

published 1.1.1 3 years ago
M
Q
P

Lint filenames and paths

published 1.0.1 9 years ago
M
Q
P

Return true if the given file paths are equal.

published 0.1.1 10 years ago
M
Q
P

Open files in your editor at a specific line and column

published 4.1.1 9 months ago
M
Q
P

A proxy to `path`, replacing `\` with `/` for all results

published 3.1.19 2 years ago
M
Q
P

Convert directory url path to it's index file path

published 0.1.0 10 years ago
M
Q
P

Create an object of template partials from a glob of files to pass to any template engine.

published 0.1.0 10 years ago
M
Q
P

takes and full path to a file and remove all directories before the module. SO you get back a path relative to the module

published 0.0.1 7 years ago
M
Q
P

Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`

published 4.0.1 2 years ago
M
Q
P

Resolves a given package if it is installed locally, then tries to resolve it from global registry, using battle-tested [global-modules][] package. Better approach than internal `require.resolve`, so you can trust. You just get absolute filepath to some p

published 1.0.1 7 years ago
M
Q
P

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 0.10.0 8 years ago
M
Q
P

Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.

published 2.0.2 6 years ago
M
Q
P

safe filename and path

published 0.0.6 a year ago
M
Q
P

Return `true` if a file extension matches the given string, array of strings, or RegExp pattern.

published 0.2.1 10 years ago
M
Q
P

Filter files by the given extension.

published 0.1.1 10 years ago
M
Q
P

Hierarchical filepath resolver

published 0.1.0 8 years ago
M
Q
P

Parse and stringify file paths with line and column like `unicorn.js:8:14`

published 3.0.0 3 years ago
M
Q
P