Get global npm prefix. Respects npmrc configs
MIT License
Get global npm prefix. Respects npmrc configs.
var npmPrefix = require('npm-prefix'); npmPrefix() //=> '/usr/local'
npmPrefix()
Returns the npm prefix.
npm install npm-prefix
MIT
Pin all your npm dependencies
Install dependencies using Yarn with npm fallback.
Parse a filepath and return an object of path parts. Falls back on native node.js `path.parse` if...
Find the global node_modules path.
Get the current working directory relative to the calling module.
Returns an array of unique "npm" directories based on the user's platform and environment. Node.j...
Fast, disk space efficient package manager
Convert package readme to a man page
Get the npm global path prefix. Same code used internally by npm.
the package manager for JavaScript
Open any npm package readme as a man page
Returns the directory used by NPM for globally installed NPM packages.
See how a module is used in npm.
Generate a unique sequential ID. Optionally pass a prefix, suffix, or multiplier.