5.0.0 • Published 2 years ago

@dianmora/contributors v5.0.0

Weekly downloads
12
License
MIT
Repository
-
Last release
2 years ago

Contributors

By @dianmorales

Retrieve a list of contributors and a number of total contributions made to the differents repositories of the selected Organization import contributors from '@dianmora/contributors';

Example

import fs from 'fs/promises';
import path from 'path';

const token = process.env.TOKEN;
const contributors = require('@dianmora/contributors');
const excludebots = ['foo'];

(async () => {
  try {
    const result = await contributors({
      token: token,
      organization: 'org',
      excludebots,
      allowFork: false,
      allowPrivateRepo: false,
    });
    await fs.writeFile('./foo.json', JSON.stringify(result, null, 4));
  } catch (err) {
    console.error('error on update', err);
    process.exit(1);
  }
})();

MIT

5.0.0

2 years ago

4.0.0

2 years ago

3.0.0

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.1.0

2 years ago

1.0.12

2 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago