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

@gwansikk/github-contributions

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gwansikk/github-contributions

Quick and easy access to GitHub users' contributions.

  • 0.1.3
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

🌱 github-contributions

Quick and easy access to GitHub users' contributions.

npm version npm downloads npm bundle size

English   •   한국어

Installation

  • NPM
npm i @gwansikk/github-contributions
  • Yarn
yarn add @gwansikk/github-contributions

Usage

[!IMPORTANT]
The current version is an unstable version, still under development, so there may be frequent changes to the code.

import { getContributions } from "@gwansikk/github-contributions";

const username = "gwansikk";

getContributions(username)
  .then((contributions) => {
    console.log(`GitHub Contributions for ${username}:`, contributions);
  })
  .catch((error) => {
    console.error("Error fetching contributions:", error);
  });
// getContributions(githubUsername) Output
{
  '2022-12-18': 3,
  '2022-12-25': 9,
  ,,, // more dates
  '2023-12-02': 6,
  '2023-12-09': 7,
}

Support

TypeStatusVersion
Browsers<= 0.1.2
ES Modules<= 0.1.2
CommonJS<= 0.1.2

Contributing

Information describing how to contribute can be found in the file.
CONTRIBUTING.md

Keywords

FAQs

Package last updated on 09 Jan 2024

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