Giter Site home page Giter Site logo

credits's Introduction

Build Status npm version npm downloads Coverage Status Uses greenkeeper.io All Contributors

credits

We all use a lot of open source projects. Really often we don't even know who is responsible for all the well done projects. You want to see who to thank for hard work?

Use credits and find out on whose work your projects are based on.

Install

$ npm i --save credits

Basic usage

credits will check node_modules, bower_components, and jspm_packages to evaluate the Author and Maintainers of the installed dependencies included in the set path.

In case you want to use it over the command line, there is also credits-cli.

credits( path )

Description : Evaluate persons responsible for your dependencies.

credits returns a Promise which will be resolved with an Array containing a lot of great people. The Array will be sorted according to the numbers of projects they are working on.

var credits    = require( 'credits' );
var creditPath = '/Users/you/your-awesome-project';

/**
 * @param {String} creditPath path to the project you want to analyze
 *
 * @return {Promise}
 */
credits( creditPath )
  .then( function( credits ) {
    console.log( credits );
  } )
  .catch( function( error ) {
    console.log( error );

    process.exit( 1 );
  } );

/*
  Will print:
  {
    npm:
      [ { name     : 'Some person',
          email    : '[email protected]',
          packages : [ 'package1', 'package2', 'package3', 'package4', 'package5'] },
        { name     : 'Some other great person',
          email    : '[email protected]',
          packages : [ 'package6', 'package7', 'package8' ] },
        ...
        ...
        ...
      ],
    jspm: [...],
    bower: [...]
  }
 */

I want to thank all these people for their great work!!!

Contributors

Thanks goes to these wonderful people (emoji key):


Jayson Harshbarger

๐Ÿ“– ๐Ÿ’ป

Radimir Bitsov

๐Ÿ“– ๐Ÿ’ป

Allain Lalonde

๐Ÿ’ป

Andrew Goode

๐Ÿ’ป

This project follows the all-contributors specification. Contributions of any kind welcome!

credits's People

Contributors

stefanjudis avatar hypercubed avatar radibit avatar greenkeeperio-bot avatar allain avatar caligone avatar nexdrew avatar

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.