body-meta
v0.2.0
Published
Lets store data in description fields
Downloads
507
Readme
Body Meta
Lets store data in description fields. Because we don't have a better place to put them.
{
"body": "Big description of\nsomething",
"string": "data",
"number": 123
}
Becomes:
Big description of
something
string: "data"
number: 123
Installation
npm i smujmaiku/body-meta
Methods
encode
Encodes an Object into a single string placing the body
value on top
decode
Decodes a string into a single Object
License
Copyright (c) 2021, Michael Szmadzinski. (MIT License)