runkit-midi

    1.0.4 • Public • Published

    runkit-midi

    MIDI player/viewer for RunKit

    npm Try runkit-midi on RunKit

    Your own live MIDI demo on RunKit

    runkit

    Have you ever wondered what was that RunKit button on your NPM page for?

    Does your project generate MIDI files?

    You may want to enable a live MIDI demo on your project page.

    No install required!

    Your visitors will be able to play and view the contents of generated MIDI files as on the image below:

    screenshot

    Enabling live MIDI demo on your project page

    Create a demo script:

    // my-demo.js
    const rkmidi = require('runkit-midi');
    const myproj = require('your-project');
    const midi = myproj.makeCoolMidi();
    rkmidi(midi);

    Add an entry into your package.json:

    // package.json
      ...
      "runkitExampleFilename": "my-demo.js",
      ...

    Add a button to your README.md (optional):

    // README.md
      ...
    [![Try your-project on RunKit](https://badge.runkitcdn.com/your-project.svg)](https://npm.runkit.com/your-project)
      ...

    Publish the new release of your-project on NPM

    Have fun!

    Install

    npm i runkit-midi

    DownloadsWeekly Downloads

    6

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    5.43 kB

    Total Files

    5

    Last publish

    Collaborators

    • jazz-soft