UNPKG

abstract-things

Version:

Base for building libraries that interact with physical things, such as IoT-devices

12 lines (7 loc) 167 B
'use strict'; const Thing = require('../thing'); module.exports = Thing.type(Parent => class extends Parent { static get type() { return 'power-switch'; } });