github-org-cards

User cards for GitHub Org members

Usage no npm install needed!

<script type="module">
  import githubOrgCards from 'https://cdn.skypack.dev/github-org-cards';
</script>

README

github-org-cards

Obtains members of a GitHub Org using the GitHub Orgs API, shuffles them, retrieves the user profile for each member and renders a card in a responsive 12-column-based layout with an optionally-provided number of columns per card.

NPM JavaScript Style Guide

github-org-cards

Install

npm install --save github-org-cards

Usage

See example/src/App.js for a full example.

import React, { Component } from 'react'

import {GitHubOrg} from 'github-org-cards'

class Example extends Component {
  render () {
    return (
      <GitHubOrg columns={2} org='reactjs' />
    )
  }
}

License

MIT © devth