gson-conform

egalitarian js objects and arrays

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
gson-conform
001.0.35 years ago6 years agoMinified + gzip package size for gson-conform in KB

Readme

json-conform
npm install gson-conform --save
const gc = require("gson-conform");

const array = gc.asArray(anything);
// [anything]

gc.forEach(arrayOrObject, callback(value, key, parent) {});

const keyInData = gc.keyOf(arrayOrObject, valueToFind);
// *

const allKeys = gc.keys(anything);
// []

const allValues = gc.values(anything);
// []