Miss any of our Open RFC calls?Watch the recordings here! »

deedee

1.4.40 • Public • Published

deedee

Build Status NPM Version Coverage

Identifying all the dependencies used in a project can be difficult, especially when they're spread out across many files and directories.

Deedee can locate dependencies for a variety of languages and produce a summary of the names of those dependencies as well as their versions and other relevant information.

This information can help highlight a number of issues in projects, such as out-of-date libraries, unused dependencies, and problems in package manifest files.

Supports

  • Node.js
  • Bower
  • PHP (Composer)
  • Inline <script> tags
  • CSS @import
  • Ruby
  • Python
  • Go
  • ...

Installation

$ npm install --save deedee

Or install it globally to use it from the command line:

$ npm install -g deedee

Usage

The easiest way to use deedee is from the command line:

$ deedee ./node_modules/growl

Output

node_modules/growl/package.json
Name: growl
Type: Node.js (devDependencies)

   eslint                     ^4.8.0
   eslint-config-airbnb-base  ^12.0.1
   eslint-plugin-import       ^2.7.0
   eslint-plugin-node         ^5.2.0

You can also easily use it in a project:

import path from 'path';
import deedee from '../lib/deedee.js';
 
deedee({
    path: path.resolve('..'),
    recursive: false
}).then(deps => {
    console.log(JSON.stringify(deps, null, 2));
});

License

MIT © Forrest Desjardins

Install

npm i deedee

DownloadsWeekly Downloads

8

Version

1.4.40

License

MIT

Unpacked Size

396 kB

Total Files

26

Last publish

Collaborators

  • avatar