node-red-contrib-badges 0.0.1

NodeRED node that returns a badge for display on a readme

npm install node-red-contrib-badges

Create your own badges like those found on http://shields.io

Installation

npm install node-red-contrib-badges

Example

 [{"id":"86c78a54.793878","type":"badge","z":"cf1c43dd.30e3c","name":"","x":521,"y":188,"wires":[["9ed06d1b.612f9"]]},{"id":"5512441b.aaedbc","type":"http in","z":"cf1c43dd.30e3c","name":"","url":"/badge","method":"get","swaggerDoc":"","x":148,"y":187,"wires":[["b5bfeeb6.4a401"]]},{"id":"9ed06d1b.612f9","type":"http response","z":"cf1c43dd.30e3c","name":"","x":711,"y":188,"wires":[]},{"id":"b5bfeeb6.4a401","type":"function","z":"cf1c43dd.30e3c","name":"","func":"msg.payload = {\n    left: 'left',\n    right: 'right',\n    color: 'brightgreen',\n    url: 'https://example.com'\n};\nreturn msg;","outputs":1,"noerr":0,"x":357,"y":188,"wires":[["86c78a54.793878"]]}]

Node Info

Version: 0.0.1
Updated 1 year, 1 month ago
License: Apache-2.0

Downloads

0 in the last day
1 in the last week
13 in the last month

Nodes

  • badge

Keywords

  • node-red
  • contrib-badges
  • shields
  • redconnect

Maintainers

  • redant

Contributors

  • Stephen Keep