abstract-things
Version:
Base for building libraries that interact with physical things, such as IoT-devices
14 lines (11 loc) • 315 B
JavaScript
const Thing = require('./thing');
/**
* Mixin used to mark things as placeholders. A placeholder is a thing
* that needs some configuration or authentication before it is usable.
*/
module.exports = Thing.mixin(Parent => class extends Parent {
static get type() {
return 'placeholder';
}
});
;