use-midi
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

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()}/>
  )
}

Package Sidebar

Install

npm i use-midi

Weekly Downloads

2

Version

0.2.0

License

MIT

Unpacked Size

73.5 kB

Total Files

31

Last publish

Collaborators

  • tsei