JSPM

npm-installed

2.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 268
  • Score
    100M100P100Q101366F
  • License MIT

Find npm installed programs

Package Exports

  • npm-installed

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (npm-installed) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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