Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jaxx2104/api-treemap
https://github.com/jaxx2104/api-treemap
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jaxx2104/api-treemap
- Owner: jaxx2104
- Created: 2019-02-03T15:31:04.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-14T08:59:52.000Z (almost 5 years ago)
- Last Synced: 2024-10-27T23:13:37.816Z (2 months ago)
- Language: JavaScript
- Size: 22.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# api-treemap
[![NPM Version](http://img.shields.io/npm/v/api-treemap.svg?style=flat)](https://www.npmjs.org/package/api-treemap)
[![CircleCI](https://circleci.com/gh/jaxx2104/api-treemap/tree/develop.svg?style=svg)](https://circleci.com/gh/jaxx2104/api-treemap/tree/develop)Description
## Install
```
$ npm install api-treemap
or
$ npm install -g api-treemap
```## Usage
### JavaScript API
```js
import treemap from 'api-treemap'```
### Command Line Interface
```
$ api-treemap --repo facebook/react --token XXXXXXXXXX
```result
```
┌─────────┬────────────┬───────┐
│ (index) │ user │ count │
├─────────┼────────────┼───────┤
│ 0 │ 'jaxx2104' │ 26 │
│ 1 │ 'foo' │ 23 │
│ 2 │ 'bar' │ 19 │
└─────────┴────────────┴───────┘
```