Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

dpndon

dpndon - fetch information of npm modules that the project depend on.

Usage

const dpndon = require('dpndon');

dpndon({
  pkgName: 'dpndon',
  dependencyTypes: ['dependencies', 'devDependencies'],
  props: ['name', 'homepage']
})
.then(console.log)
.catch(console.error);

/** output:
{
  dependencies: [
    {
      name: 'package-json',
      homepage: 'https://github.com/sindresorhus/package-json#readme' 
    },
    { 
      name: 'read-pkg',
      homepage: 'https://github.com/sindresorhus/read-pkg#readme'
    } 
  ],
  devDependencies: [
    { 
      name: 'chai',
      homepage: 'http://chaijs.com'
    },
    { 
      name: 'chai-as-promised',
      homepage: 'https://github.com/domenic/chai-as-promised#readme'
    },
    { 
      name: 'mocha',
      homepage: 'https://mochajs.org'
    },
    { 
      name: 'sinon',
      homepage: 'http://sinonjs.org/'
    }
  ]
}
*/

License

MIT

Author

Kotaro Takahashi@k4h4shi

About

dpndon - fetch information of npm modules that the project depend on.

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.