Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash 4.3 wildcard support only (no support for exglobs, posix brackets or braces)
Use property paths like 'a.b.c' to get a nested value from an object. Even works when keys have dots in them (no other dot-prop library can do this!).
Extract the Node.js module details like name and base path given an abosulte path to a file inside the module
Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd.
Get XDG Base Directory paths
Some useful utilities I often need
Create an object path from a list or array of strings.
Tests whether one path is inside another path
Serialize Canvas path commands to SVG.
Resolve a directory that is either local, global or in the user's home directory.
Check if a path is in the current working directory
Pollyfill for node.js `path.parse`, parses a filepath into an object.
- absolute
- basename
- dir
- directory
- dirname
- ext
- extension
- extname
- file
- filename
- filepath
- is-absolute
- name
- object
- View more
Get the path of the caller function
Get a random temporary file or directory path
Virtual file format.
Node.js path.dirname() ponyfill
Regular expression for testing if a file path is a windows UNC file path. Can also be used as a component of another regexp via the `.source` property.
Check if a file path is a text file
Regular expression for getting the root of a posix or windows filepath.
Returns true if a filepath is a windows UNC file path.