Skip to content

ondrej-111/json-to-buffer

Repository files navigation

json-to-buffer

json-to-buffer travers JSON object and using Buffer.from(JSON.stringify(chunk)) converts object to Buffer - could be handy for converting large JSON objects to Buffer.

Usage

import jsonToBuffer from 'json-to-buffer'
// import { jsonToBuffer } from 'json-to-buffer'

jsonToBuffer({data: [{to: "convert"}]});

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published