npm

Bring the best of OSS JavaScript development to your projects with npm Orgs - private packages & team management tools.Learn more »

poppins-label

0.0.3 • Public • Published

poppins-label

A Mary Poppins plugin for auto-labeling new issues and PRs on GitHub.

Install

npm install poppins-label

Configure

To use this plugin, you need to load it in your config file with couldYouPlease:

// config.js
module.exports = function (poppins) {
 
  poppins.config = { /*...*/ };
 
  // load label plugin
  poppins.couldYouPlease('label');
 
  // map tag name -> predicate fn
  plugins.labels = {
 
    // tag even numbered issues
    'even': function (issue) {
      return issue.number % 2 === 0;
    },
 
    // ...
  }
};

License

MIT

install

npm i poppins-label

Downloadsweekly downloads

3

version

0.0.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability