2.2.0 • Published 3 years ago

gh.midi v2.2.0

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

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

2.2.0

3 years ago

2.1.0

3 years ago

2.0.0

4 years ago

1.1.0

4 years ago

1.0.1

5 years ago

1.0.0

5 years ago