<commit_before># node-itwinkle
Control GE iTwinkle lights via node

## useage

Connect your computer to your "iTwinkle" access point.

Right now supports on, off and setColor. Color is right now using the
native color format for the lights, which seem to be little-endian so therefor
BGR. Each color is only 4 bits (0-f) but the format seems to support eight bits 
and ignores the value of the first digit, so it is always 0.


```
$ npm install --save node-itwinkle


var iTwinkle = require('node-itwinkle');

iTwinkle.on()
.then(function() {
	// turn it red<commit_msg>Link to example<commit_after># node-itwinkle
Control GE iTwinkle lights via node

## useage

Connect your computer to your "iTwinkle" access point.

Right now supports on, off and setColor. Color is right now using the
native color format for the lights, which seem to be little-endian so therefor
BGR. Each color is only 4 bits (0-f) but the format seems to support eight bits 
and ignores the value of the first digit, so it is always 0.

To see this in use in a simple web app checkout https://github.com/saw/lightctrl


```
$ npm install --save node-itwinkle


var iTwinkle = require('node-itwinkle');

iTwinkle.on()
.then(function() {
	// turn it red
{'fraction_non_alphanumeric': 0.0766721044045677, 'fraction_numerical': 0.004893964110929853, 'mean_word_length': 3.927710843373494, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5574068', 'n_tokens_mistral': 384, 'n_tokens_neox': 365, 'n_words': 181}