1.0.2 • Published 3 years ago
@certik/array-deflate v1.0.2
Array Deflate
A small package to deflate and inflate a list of objects for transportation.
The deflation algorithm works best for the list of objects that share similar shape (limited number of keys).
Usage:
# server side
const { deflateList, inflateList } = require("@certik/array-deflate");
const miniList = deflateList([{...}, {...}]);
# client side
const list = inflateList(miniList);
Publish
yarn publish --access public