az-json

Usefull json utils

Usage no npm install needed!

<script type="module">
  import azJson from 'https://cdn.skypack.dev/az-json';
</script>

README

az-json

Usefull json utils

Unzips the response from http.request if it's gzipped/deflated, otherwise just passes it through.

Install

$ npm install --save az-json

Usage

json_clone

json_clone({email:john.dow@example.com});

json_copy

json_copy({});

json_extend

json_copy({},{full_name:'john dow'},{email:john.dow@example.com});

json_fill

json_fill({},{});

json_select

json_select({});

License

MIT © Sindre Sorhus