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

git-in-team

v0.1.0

Published

Let people invite themselves to your GitHub organization/team

Readme

Git-in-Team

A little server that enables self-invitation to a Github organization.

It provides

  • A landing page you can point users to join your organization/team by authorizing their GitHub account and receive an invite (http://githubteam.yourdomain.com)
  • An <iframe> badge to embed on any website that shows connected users.
  • A SVG badge that works well from static mediums (like GitHub README pages)

How to use

Heroku

Use the button below to deploy to Heroku

Deploy

Or manually setup your Heroko app:

  1. Create a new Heroku app
    heroku apps:create APP_NAME
  2. Provide GITHUB_ORGANIZATION
    heroku config:set GITHUB_ORGANIZATION=XXXX
  3. Optionally provide GITHUB_API_TOKEN and GITHUB_API_TYPE
    heroku config:set GITHUB_API_TOKEN=XXXX GITHUB_API_TYPE=YYYY
  4. Optionally provide GITHUB_APP_ID and GITHUB_APP_SECRET
    heroku config:set GITHUB_APP_ID=XXXX OAUTH_CLIENT_SECRET=YYYY
  5. Push changes to heroku
    git push heroku master
    or
    heroku restart

Server

Or install it and launch it on your server:

$ npm install -g gitinteam
$ gitinteam "your-github-organization"

The available options are:

Usage: gitinteam [options] <github-organization> [<api-token> <api-token-type> <app-id> <app-secret>]

Options:

  -h, --help               output usage information
  -V, --version            output the version number
  -p, --port <port>        Port to listen on [$PORT or 3000]
  -i, --interval <int>     How frequently (ms) to poll Slack [$GITHUB_INTERVAL or 30000]
  -s, --silent             Do not print out warns or errors

Dynamic Badge

<script async defer src="http://githubteam.yourdomain.com/gitinteam.js"></script>

or for the large version, append ?large:

<script async defer src="http://githubteam.yourdomain.com/gitinteam.js?large"></script>

SVG

<img src="http://githubteam.yourdomain.com/badge.svg">

or change the text by appending the t query parameter with the value of your text. Also by appending s, you can switch to a different color mode:

<img src="http://githubteam.yourdomain.com/badge.svg?s&t=TEAM">

Landing page

Point to http://githubteam.yourdomain.com.

Note: A image for the logo of the landing page is retrieved from the GitHub API. If your organization doesn't have one configured, it won't be shown like in the picture above.

Setup

Visit your app page once and in order to setup your GitHub application, API token and app tokens.

Note: This step is very important if the important credentials are not entered before. This would allow other users to take over your app.

API

Requiring gitinteam as a module will return a Function that creates a HTTP.Server instance that you can manipulate.

require('gitinteam')({
  org: 'your-github-organization', // required
  token: 'yourtoken',
  token_type: 'Bearer',
  client_id: 'app_client_id',
  client_secret: 'app_client_secret',
  silent: false, // suppresses warnings and additional log entries
  interval: 30000
}).listen(3000);

Credits

  • Guillermo Rauch (rauchg) for the slackin software
  • The SVG badge generation was taken from the excellent shields project.
  • The button CSS is based on github-buttons.

License

MIT