Skip to content

Latest commit

 

History

History
executable file
·
65 lines (50 loc) · 2 KB

README.md

File metadata and controls

executable file
·
65 lines (50 loc) · 2 KB

spool-johnny-five

Gitter NPM version Build Status Test Coverage Dependency Status Follow @FabrixApp on Twitter

📦 johnny-five Spool

A Spool to make it easy to use Johnny Five with Fabrix

Install

$ npm install --save @fabrix/spool-johnny-five

Configure

// config/main.ts
import { JohnnyFiveSpool } from '@fabrix/spool-johnny-five'
export const main = {
  spools: [
    // ... other spools
    JohnnyFiveSpool
  ]
}

Configuration

// config/johnny-five.ts
export const johnny_five = {

}

For more information about store (type and configuration) please see the johnny-five documentation.

Usage

For the best results, create a Board Class and override the default methods.

  import { Board } from '@fabrix/spool-johnny-five'
  
  export class PinBoard extends Board {

  }