1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

Tidy up msgpack node info

This commit is contained in:
dceejay 2015-02-14 18:23:36 +00:00
parent 7338a17991
commit 207b5c6fc3
3 changed files with 5 additions and 8 deletions

View File

@ -19,7 +19,6 @@
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label> <label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name"> <input type="text" id="node-input-name" placeholder="Name">
</div> </div>
<div class="form-tips">Only supports object to/from msgpack buffer.</div>
</script> </script>
<script type="text/x-red" data-help-name="msgpack"> <script type="text/x-red" data-help-name="msgpack">

View File

@ -16,8 +16,6 @@ Usage
Uses the <a href="https://www.npmjs.org/package/msgpack">msgpack npm</a> to pack and unpack msg.payload objects to <a href="http://msgpack.org/">msgpack</a> format buffers. Uses the <a href="https://www.npmjs.org/package/msgpack">msgpack npm</a> to pack and unpack msg.payload objects to <a href="http://msgpack.org/">msgpack</a> format buffers.
If the input is an object it converts it to a msgpack buffer. If the input is NOT a buffer it converts it into a msgpack buffer.
If the input is a msgpack buffer it converts it back to an object. If the input is a msgpack buffer it converts it back to the original type.
Current only supports msg.payloads of type object.

View File

@ -1,6 +1,6 @@
{ {
"name" : "node-red-node-msgpack", "name" : "node-red-node-msgpack",
"version" : "0.0.3", "version" : "0.0.4",
"description" : "A Node-RED node to pack and unpack objects to msgpack format", "description" : "A Node-RED node to pack and unpack objects to msgpack format",
"dependencies" : { "dependencies" : {
"msgpack-js" : "0.3.0" "msgpack-js" : "0.3.0"