hybridgroup/cylon-cli

View on GitHub
template/index.js

Summary

Maintainability
A
0 mins
Test Coverage
"use strict";

var Adaptor = require("./lib/adaptor"),
    Driver = require("./lib/driver");

module.exports = {
  // Adaptors your module provides, e.g. ["spark"]
  adaptors: [],

  // Drivers your module provides, e.g. ["led", "button"]
  drivers: [],

  // Modules intended to be used with yours, e.g. ["cylon-gpio"]
  dependencies: [],

  adaptor: function(opts) {
    return new Adaptor(opts);
  },

  driver: function(opts) {
    return new Driver(opts);
  }
};