sindresorhus / path-exists
Check if a path exists
☆150Updated 2 years ago
Related projects ⓘ
Alternatives and complementary repositories for path-exists
- Get the path to the user home directory☆161Updated 3 years ago
- Read a package.json file☆166Updated last year
- Convert a value to an array☆131Updated 3 years ago
- Get the system locale☆225Updated 2 years ago
- Get the gzipped size of a string or buffer☆171Updated 2 years ago
- Resolve the path of a module like require.resolve() but from a given path☆140Updated 3 years ago
- Find the closest package.json file☆159Updated last year
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆97Updated 10 months ago
- Create and parse HTTP Content-Type header☆131Updated 4 months ago
- Read the closest package.json file☆258Updated last year
- Provide multiple patterns to node-glob☆55Updated 2 years ago
- Strip UTF-8 byte order mark (BOM) from a string☆111Updated 3 years ago
- Reliable way to to get the height and width of the terminal/console in a node.js environment.☆82Updated 3 months ago
- Check if a path is a file, directory, or symlink☆75Updated 3 months ago
- ☆121Updated 5 years ago
- Find the root directory of a Node.js project or npm package☆235Updated last year
- Parse `.git/config` into a JavaScript object. sync or async.☆61Updated 6 years ago
- Write minimal node index.js files that require and export siblings by file basename☆84Updated 2 years ago
- Round a number to a specific number of decimal places: 1.234 → 1.2☆155Updated last year
- Wordwrap a string with ANSI escape codes☆120Updated last year
- Let a globally installed package use a locally installed version of itself if available☆154Updated 3 months ago
- Get metadata of a package from the npm registry☆237Updated 4 months ago
- Compressible Content-Type / mime checking.☆98Updated 7 months ago
- Itty bitty little widdle twinkie pinkie ES2015 Promise implementation☆138Updated 6 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆184Updated last year
- JavaScript option parsing and help generation library☆162Updated 6 months ago
- Get namespaced config from the closest package.json☆120Updated last year
- The Lodash command-line interface.☆152Updated last year
- Copy a file☆121Updated last year