npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

react-github-profile

v0.2.3

Published

A React component for displaying a Github Profile

Readme

GitHubProfile.jsx

Please note that this project is in progress. If you encounter bugs please report them in the issues section of the GitHub repo.

Also, please feel free to contribute! (See Contributing below)

Description

GitHubProfile is a React component designed to display a user's GitHub profile information and activity. It retrieves data from the GitHub API, including user details such as avatar, name, bio, public repositories, and followers. Additionally, it renders a GitHub activity calendar using the react-github-calendar package.

GitHubProfile Screenshot

How it works

<GitHubProfile /> accepts the following props:

  • userName: The GitHub username of the user whose profile you want to display.

Example usage

<GitHubProfile userName="tommypurcell" />

Installation

To use the GitHubProfile.jsx component in your React project, follow these steps:

  1. Install the required dependencies

    npm install axios react-github-calendar prop-types
  2. Include the component in your project directory.

  3. Import the component into your React application:

    import GitHubProfile from './GitHubProfile.jsx'
  4. Render the component in your application, passing the required props:

    <GitHubProfile
      userName="yourGitHubUsername"
    />

Usage

Props

  • userName (required): The GitHub username of the user whose profile you want to display.

Example

import React from 'react'
import GitHubProfile from './GitHubProfile.jsx'

function App() {
  return (
    <div>
      <h1>GitHub Profile</h1>
      <GitHubProfile userName="octocat" />
    </div>
  )
}

export default App

Dependencies

  • axios: Promise-based HTTP client for making requests to the GitHub API.
  • react-github-calendar: React component to display a user's GitHub activity calendar.
  • prop-types: Runtime type checking for React props.

Contributing

Thank you for your interest in contributing to the React GitHub Profile component! Follow these steps to contribute:

Steps to Contribute

  1. Review Issues
  • Check the issues section to find something to work on.
  • If you have a new idea, create a new issue and describe it.
  • Discussion: Please discuss the issue with the maintainers before starting to ensure alignment and avoid wasted effort.
  1. Clone the Project Clone the repository to your local machine.
  2. Create a New Branch Make a new branch for your changes and push your changes to this branch.
  3. Submit a Pull Request Submit a pull request to merge your branch into the main branch.
  4. Wait for Review Wait for your pull request to be reviewed and make any requested changes.
  5. Done! Once your pull request is approved and merged, you're done! Thanks for contributing. :)

License

This project is licensed under the MIT License - see the LICENSE file for details.