Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/garrettmflynn/polar

A Polar Strap Driver for the Data Capture and Streams API
https://github.com/garrettmflynn/polar

Last synced: about 1 month ago
JSON representation

A Polar Strap Driver for the Data Capture and Streams API

Awesome Lists containing this project

README

        

# polar
A Polar Strap Driver for the Data Capture and Streams API

> **Note:** This repository has not been tested with an actual Polar H10 band...use at your own risk.

## Getting Started
After you've installed Node and NPM, install all the project dependencies:
```bash
npm install
```

Now modify the `src` files to interface with your specific hardware.

### Run
The following command will create a `dist` folder with your driver files **and serve the included `index.html` file to http://localhost:1234**.

```bash
npm start
```

This links the latest version of the Data Capture and Streams API to ensure compatibility.

### Publish
If your device is working properly, the following command will publish it to NPM.
```bash
npm publish --access public
```

## Use
In order to use your device in other projects, you'll have to link it using one of the following options:

#### Browser
```javascript

```

#### Module
```javascript
import device from `https://cdn.jsdelivr.net/npm/@brainsatplay/polar`
```

Have fun with your data!