Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

path-to-npm

Get the path of npm according to the PATH environment variable

readme

path-to-npm

Get the path of npm according to the PATH environment variable

Usage


var npmLocation = require('path-to-npm')();

Contribution