zMIDI uses the Web MIDI API, which is currently only supported in Google Chrome and is still very much a draft.
Who / what is using it ?
zMIDI was written specifically for WebSID and later integrated in Efflux. In both apps zMIDI listens to incoming note messages allowing you to instantly play and record notes with a connected keyboard.
Available via npm
npm install zmidi