home-path
Cross-platform home directory retriever
Cross-platform home directory retriever
Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.
Uri and query string manipulation
Thin wrapper around fs.readFile and fs.readFileSync that also strips byte order marks when `utf8` encoding is chosen. Also optionally replaces windows newlines with unix newlines.
remove or replace relative path for files
Modify deep object properties without modifying the original object (immutability). Works great with React and Redux.
A small library that builds a URL given its components
Get installation path where the given package is installed. Works for globally and locally installed packages
Get the basename of a filepath excluding extension.
Open files in your editor at a specific line and column
Ts transform paths
Parse and stringify file paths with line and column like `unicorn.js:8:14`
Get the SHA1 of a file.
Install Git for Windows by npm.
Require a module like `require()` but from a given path
Quickly import from core node modules
Returns an array of NPM directory paths based on the user's platform and environment.
Copy files or directories using globs.
Checks if a given path is a regular file
Write a JSON file to disk, also creates intermediate directories in the destination path if they don't already exist.