https://github.com/fdesjardins/deedee
A tool for detecting project dependencies
https://github.com/fdesjardins/deedee
cli dependencies project tools
Last synced: about 1 year ago
JSON representation
A tool for detecting project dependencies
- Host: GitHub
- URL: https://github.com/fdesjardins/deedee
- Owner: fdesjardins
- License: mit
- Created: 2016-03-17T20:09:47.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T17:15:01.000Z (over 3 years ago)
- Last Synced: 2024-04-14T22:12:49.263Z (about 2 years ago)
- Topics: cli, dependencies, project, tools
- Language: JavaScript
- Homepage:
- Size: 1.92 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 19
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# deedee
[![Build Status][travis-image]][travis-url]
[![NPM Version][npm-image]][npm-url]
[![Coverage][coveralls-image]][coveralls-url]
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
- [x] Node.js
- [x] Bower
- [x] PHP (Composer)
- [ ] Inline `` 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:
```js
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](https://github.com/fdesjardins)
[npm-url]: https://www.npmjs.com/package/deedee
[npm-image]: https://img.shields.io/npm/v/deedee.svg?style=flat
[travis-url]: https://travis-ci.org/fdesjasrdins/deedee
[travis-image]: https://img.shields.io/travis/fdesjardins/deedee.svg?style=flat
[coveralls-url]: https://coveralls.io/r/fdesjardins/deedee
[coveralls-image]: https://img.shields.io/coveralls/fdesjardins/deedee.svg?style=flat