0.2.0 • Published 3 years ago

body-meta v0.2.0

Weekly downloads
275
License
MIT
Repository
github
Last release
3 years ago

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)

0.2.0

3 years ago

0.1.1

5 years ago

0.1.0

5 years ago