gh.midi

2.2.0 • Public • Published

gh.midi

NPM version

Download a midi file of your github contributions.

Installation

Using NPM:

$ npm install gh.midi

Using the webservice API:

https://ghmidi.now.sh/api/[USERNAME]

Using the website interface

https://ghmidi.now.sh/

CLI

A CLI version is also available for this package.

Usage

Once installed using NPM, you can require it on your node scripts:

const GHMidi = require("gh.midi");
const midiBytes = GHMidi("[USERNAME]", options);

Options

Days

Number of days from today to include. [default 365]

Chords

Set of 4 chords to use in ascending order. [default: ["C", "F", "G", "Am"]]

BPM

Set the song beat per minutes. [default: 120]

License

MIT

Package Sidebar

Install

npm i gh.midi

Weekly Downloads

2

Version

2.2.0

License

MIT

Unpacked Size

5.87 kB

Total Files

5

Last publish

Collaborators

  • gmartigny