npm.io
1.3.1 • Published 11 months ago

serde-fns

Licence
MIT
Version
1.3.1
Deps
1
Size
21 kB
Vulns
0
Weekly
0
Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)

serde-fns

test publish

simple shapes and procedures for serde with a pit-of-success

install

npm install serde-fns

use

for example

import { isSerialJSON, SerialJSON } from 'serde-fns';

const words = '{"hello":"world"}';
const isValid = isSerialJSON.assess(words);
const json: SerialJSON = isSerialJSON.assure(words);
const obj = deSerialJSON(json)

Keywords