Get namespaced config from the closest package.json
倉庫
sindresorhus 的倉庫
Find the root directory of a Node.js project or npm package
Find the root directory of a Node.js project or npm package
Get metadata of a package from the npm registry
Get the package.json of a package from the npm registry
Find the closest package.json file
Pad stdout and stderr
Pad each line in a stream
Capture website screenshots
Capture website screenshots
Get an array of parent directories including itself
Get the path of the parent module
Park-Miller pseudorandom number generator (PRNG)
Parse text columns, like the output of unix commands
Parse text columns, like the output of unix commands. Returns JSON that you can manipulate with tools like jq or underscore-cli.
Parse a cookie for use in PhantomJS
Parse duration strings to milliseconds
Parse CLI help output
Parse JSON with more helpful errors
Parse milliseconds into an object