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:
parent
7338a17991
commit
207b5c6fc3
@ -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">
|
||||||
|
@ -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.
|
|
||||||
|
@ -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"
|
||||||
@ -11,8 +11,8 @@
|
|||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"keywords": [ "node-red", "msgpack" ],
|
"keywords": [ "node-red", "msgpack" ],
|
||||||
"node-red" : {
|
"node-red" : {
|
||||||
"nodes" : {
|
"nodes" : {
|
||||||
"msgpack": "70-msgpack.js"
|
"msgpack": "70-msgpack.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user