0.0.4 • Published 7 years ago

commitbot v0.0.4

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

commitbot

Github commitbot for dooray messenger in NHN

Install

$ npm install --save commitbot
# or
$ git clone https://github.com/jicjjang/commitbot
$ npm install

Usage

const commitbot = require('commitbot');

/**
 * @param commitbot
 */
 (function (commitbot) {
   const arr = ['jicjjang', 'blahblah'];

   let result = {};
   Promise.all(
     arr.map((id) => {
       return commitbot.checkTodayCommit(id).then(res => {
         result[id] = res;
       })
     })
   ).then(() => {
     console.log(result);
     return result;
     // Something to everythings.
   });
 })(commitbot);

You should be reference this

$ npm test