Coder Social home page Coder Social logo

depen's Introduction

Depen

npm version travis dependencies devDependencies License

Get the infomation of dependencies in the project.

Install

$ npm i --save depen

or

$ npm i -g depen

Usage

var depen = require('depen');

depen('./', function (err, dependencies) {
  if (err) {
    throw err;
  }

  console.log(dependencies);
});

CLI

$ depen [-r] [target project]

License

MIT

depen's People

Contributors

makotot avatar

Stargazers

Mateusz Sienkan avatar Bradley Bossard avatar Andrew Hathaway avatar cybai (Haku) avatar Joey Baker avatar cz avatar Henry Allen-Tilford avatar Steven Fusco avatar Jason Brown avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

reklis

depen's Issues

second level indentation might be wrong

❯ devDependencies
    mocha 2.1.0
       simple, flexible, fun test framework https://github.com/mochajs/mocha
  ❯ dependencies
      commander 2.3.0
         the complete solution for node.js command-line programs ...
      ❯ devDependencies
          should ---
             --- ---

Seems like second level is indented by 2 spaces, but third-nth levels are indented by 4.

switch from -r to --depth option

It would be nice to mimic npm interface:

npm outdated --depth=0

With depth option it would be possible to limit the level of deps discovery.

Compact output option

Consider adding an oneline option to dependency name, version and description in one line.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.