# jamstik

> WebBluetooth client for the Jamstik+

Latest version **0.0.7** (published 2017-11-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install jamstik
pnpm add jamstik
yarn add jamstik
bun add jamstik
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.7 |
| Published | 2017-11-08 |
| First published | 2017-10-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Alex Castillo |
| Maintainers | alexcastillo |
| Keywords | jamstik, ble, web, bluetooth, guitar, midi, controller |

## Links

- npm: https://www.npmjs.com/package/jamstik
- Repository: https://github.com/alexcastillo/jamstik
- Homepage: https://github.com/alexcastillo/jamstik#readme
- Issues: https://github.com/alexcastillo/jamstik/issues
- npm.io page: https://npm.io/package/jamstik

## Dependencies (1)

- [rxjs](https://npm.io/package/rxjs.md) ^5.5.2

## Alternatives

- [@lexical/table](https://npm.io/package/@lexical/table.md) — 3.0M weekly downloads
- [mantine-datatable](https://npm.io/package/mantine-datatable.md) — 98.2K weekly downloads
- [react-native-collapsible-tab-view](https://npm.io/package/react-native-collapsible-tab-view.md) — 70.6K weekly downloads
- [@handsontable/vue3](https://npm.io/package/@handsontable/vue3.md) — 16.1K weekly downloads
- [vuewordcloud](https://npm.io/package/vuewordcloud.md) — 7.2K weekly downloads

## Recent versions

- 0.0.7 (latest) — 2017-11-08
- 0.0.6 — 2017-11-08
- 0.0.5 — 2017-11-08
- 0.0.4 — 2017-11-08
- 0.0.3 — 2017-11-05
- 0.0.2 — 2017-11-04
- 0.0.1 — 2017-10-15

## README

# Jamstik+

WebBluetooth client for the Jamstik+

## Installation

`npm install --save jamstik`

## Usage

``` js
import Jamstik from 'jamstik';

const jamstik = new Jamstik();
await jamstik.connect();

jamstik.midi.subscribe(sample => {
    console.log('sample', sample);
});
```

A sample consists of:

``` js
{
  header: number,
  timestamp: number,
  status: number,
  note: number,
  velocity: number
};
```

> For security reasons, WebBLE must be started from user interaction. Add a connect button that would start the BLE connection. See ./examples/basic/index.js

## Demo

* Clone this repo
* `npm install`
* `npm start`
* Go to http://localhost:900/examples/basic

### License

MIT

---
_Source: https://npm.io/package/jamstik · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
