flat-npm-dependencies

0.1.3 • Public • Published

flat-dependencies

NPM version Build Status Test coverage Dependency Status

Resolve all of project's flat dependencies.

Install

$ npm install flat-dependencies

Usage

var flatDependencies = require('flat-dependencies');
 
flatDependencies()
.then(res => console.log(res));
//=> [
// 'lodash.union',
// 'read-pkg',
// 'lodash._baseflatten',
// 'lodash._baseuniq',
// 'lodash.rest',
// 'load-json-file',
// 'normalize-package-data',
// 'path-type',
// 'lodash._createset',
// 'lodash._setcache',
// 'graceful-fs',
// 'parse-json',
// 'pify',
// 'pinkie-promise',
// 'strip-bom',
// 'hosted-git-info',
// 'is-builtin-module',
// 'semver',
// 'validate-npm-package-license',
// 'error-ex',
// 'pinkie',
// 'is-utf8',
// 'builtin-modules',
// 'spdx-correct',
// 'spdx-expression-parse',
// 'is-arrayish',
// 'spdx-license-ids',
// 'spdx-exceptions',
//])

API

flatDependencies()

License

MIT © C.T. Lin

Package Sidebar

Install

npm i flat-npm-dependencies

Weekly Downloads

0

Version

0.1.3

License

MIT

Last publish

Collaborators

  • niieani