Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dianmora/contributors

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dianmora/contributors

By @dianmorales

  • 5.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
93
increased by14.81%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 21 Aug 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc