I made a Node.js module with a nice API for it to ease plugin creation:
<a href="https:&#x2F;&#x2F;github.com&#x2F;sindresorhus&#x2F;bitbar" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sindresorhus&#x2F;bitbar</a>