use-midi

use midi for React🖖

Stats

StarsIssuesVersionUpdatedCreatedSize
use-midi
130.2.06 months ago4 years agoMinified + gzip package size for use-midi in KB

Readme

use midi

 version  Downloads  jsDelivr  minified size  types includes  license

Installation

npm install use-midi

Quick started

git clone https://github.com/tseijp/use-midi
cd use-midi
cd examples
yarn i
yarn start

Documentation and Examples

More info about the project can be found here.

Examples and tutorials can be found here.



What does it look like?

import React from 'react'
import { useMidi } from 'use-midi'

export function App () {
  const ref = React.useRef()

  const bind = useMidi(() => {/*~~~*/})

  return (
    <button {...bind()}/>
  )
}

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.