isDependency: A really dumb node module
This module tells you wether or not if the name of a package is a dependency of another package.
npm i is-dependency -S
const isDependency = // this looks for the most relative node_modules path and check if axios existsconst dependent = await
// returns a boolean value wether the pacakge 'is-buffer' is a dependency to 'express'await
// This will return a objectawait /*{ foo: false, bar: false, 'is-dumb': false // more like this module itself}*/