# \[ANNOUNCE\] @tonymacdonald/node-red-msg-encapsulation

**URL:** <https://discourse.nodered.org/t/announce-tonymacdonald-node-red-msg-encapsulation/80090>\
**Category:** Share Your Nodes\
**Created:** [26 July 2023 16:30 UTC](https://discourse.nodered.org/t/announce-tonymacdonald-node-red-msg-encapsulation/80090 "2023-07-26T16:30:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tonymacdonald](https://avatars.discourse-cdn.com/v4/letter/t/77aa72/32.png) [@tonymacdonald](https://discourse.nodered.org/u/tonymacdonald)\
**Post date:** [26 July 2023 16:30 UTC](https://discourse.nodered.org/t/announce-tonymacdonald-node-red-msg-encapsulation/80090/1 "2023-07-26T16:30:54Z")

</div>

Hi Everyone

I have just delivered my first node red package

@tonymacdonald/node-red-msg-encapsulation

The 2 simple nodes allow you to wrap the incoming message into a property of a new otherwise empty message and later, after some potentially destructive operation in the flow, to unwrap the original message to continue processing.

This allows the state carried in the original message to be preserved and later restored while still carrying that state only in the message.

> **[@tonymacdonald/node-red-msg-encapsulation](https://flows.nodered.org/node/@tonymacdonald/node-red-msg-encapsulation)**
>
> Wrap existing message as a property in a new message or extract a previously wrapped message

I hope you find it useful.

Let me know your thoughts.
