Search results
179 packages found
Detects if a file exists and returns the resolved filepath.
Returns true if a windows file path has invalid characters.
easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.
- url
- string
- matching
- pattern
- routing
- route
- regex
- match
- segment
- parsing
- parser
- parse
- combinator
- combinators
- View more
easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.
- url
- string
- matching
- pattern
- routing
- route
- regex
- match
- segment
- parsing
- parser
- parse
- combinator
- combinators
- View more
Returns true if a filepath exists on the file system and it's directory.
Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.
Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.
Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.
Regular expression for matching file names, with or without extension.
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.
Returns true if a file path does not contain any invalid characters.
Regular expression for getting the root of a posix or windows filepath.
Check if a path is in the current working directory
Return true if a file path contains the given path.
Drop-in replacement for `fs.existsSync` with zero dependencies. Other libs I found either have crucial differences from fs.existsSync, or unnecessary dependencies. See README.md for more info.
A toolkit for simplifying working with paths and files.
Test if a value is an absolute path.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- is
- is-absolute
- is-path
- path
- absolute
- filesystem
- View more
Test if a value is a relative path.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- is
- is-relative
- is-path
- path
- relative
- filesystem
- View more
Test if a value is a UNC path.
Get installation path where the given package is installed. Works for globally and locally installed packages