Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

npm-installed

2.0.2 • Public • Published

npm-installed Build Status

Find programs installed by npm

Install

$ npm install npm-installed

Usage

const npmInstalled = require('npm-installed');
 
npmInstalled('imagemin').then(function (path) {
    console.log(path);
    //=> /home/sirjohndoe/.npm-packages/bin/imagemin
});
 
npmInstalled.sync('imagemin');
//=> /home/sirjohndoe/.npm-packages/bin/imagemin

License

MIT © Kevin Mårtensson

Install

npm i npm-installed

DownloadsWeekly Downloads

1,037

Version

2.0.2

License

MIT

Last publish

Collaborators

  • avatar