src/hive.js File
/**
* Main exports.
* @module Hive
*/
module.exports = {
/**
* The hive URL
*
* @property URL
* @type {String}
* @default http://localhost:3000
*/
URL: process.env.HIVE_URL || 'http://localhost:3000',
/**
* Get the Device class.
*
* @property Device
* @type {Class}
*/
Device: require('./device'),
/**
* Get the expressjs server wrapper class.
*
* @property Server
* @type {Class}
*/
Server: require('./server')
}
Hive Node