Giter VIP home page Giter VIP logo

contributor-faces's Introduction

contributor-faces

Put your contributors faces in your readme.

travis codecov

contributor-faces lets you display a list of your contributors in your readme. It also allows you to list contributors by contributions in javascript or html.

Install

npm install --save contributor-faces

Usage

API

import contributors from 'contributor-faces'

// get an array of contributors
contributors().then(...)

// get contributors list as html
contributors.render().then(...)

// update contributors list in readme
contributors.update().then(...)

// exclude some contributors
contributors('.', { exclude: '*-bot' }).then(...)

CLI

contributor-faces [<directory>]

Update your readme

To keep your contributor list up-to-date, your have to specify a placeholder for contributor-faces:

[//]: contributor-faces

Then whenever you update your readme, the placeholder will get updated like this:

[//]: contributor-faces
<a href="https://github.com/ngryman"><img src="https://avatars.githubusercontent.com/u/892048?v=3" title="ngryman" width="80" height="80"></a>
[//]: contributor-faces

FAQ

Why [//]: contributor-faces?

markdown does not officially support non visible text or comments. A known workaround is to use a link label to do so. contributor-faces uses a specific link label to process your readme:

  • // is only decorative and means it's a comment
  • contributor-faces serves as the placeholder identifier.

Contributors

License

MIT © Nicolas Gryman

contributor-faces's People

Contributors

greenkeeperio-bot avatar ndelangen avatar ngryman avatar silkentrance avatar

Watchers

 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.