monteslu / pagenodes

Completely Browser Based IOT Platform
https://pagenodes.com
Apache License 2.0
222 stars 32 forks source link

base 64 node #72

Closed monteslu closed 8 years ago

monteslu commented 8 years ago

simple pass through node. If the payload is a string, try and base64 decode it and create a Buffer.

If its already a buffer or array, base64 enocde the payload.

monteslu commented 8 years ago

use btoa and atob functions

louiemontes commented 8 years ago

We can just handle this functionality in the buffer node.