emiloberg/node-red-contrib-mopidy

View on GitHub
src/mopidy-config.js

Summary

Maintainability
A
0 mins
Test Coverage
module.exports = function(RED) {
    'use strict';

    function mopidyServerNode(n) {
        RED.nodes.createNode(this,n);
        this.name = n.name;
        this.host = n.host;
        this.port = n.port;
    }
    RED.nodes.registerType('mopidy-config', mopidyServerNode);
};