0.1.0 • Published 8 years ago

node-gsr v0.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

node-gsr

Tools for collecting galvanic skin response data in realtime using Node.js.

Requirements

Uses Node 6.x. Tested on Windows, needs confirmation for Linux/OSX.

Supported hardware:

Usage

Scripts

node-gsr can be consumed from your own Node.js scripts and apps.

const { NeuLogGsr } = require('node-gsr');
const logger = new NeuLogGsr(port);

logger.on('data', (value, timestamp) =>
{
	console.log(value, timestamp);
});

logger.start();

CLI

As a quick start, you can use the bundled CLI scripts to test. You should see something like this:

> gsr-neulog COM3
0.0001 1472168867665
0.0001 1472168867765
0.0001 1472168867865
0.0001 1472168867964
0.0001 1472168868064