improved viewers

This commit is contained in:
Andrea Pozzetti
2025-11-16 13:39:43 +01:00
parent c19e5829d7
commit 1678566c11
5324 changed files with 606218 additions and 29 deletions
@@ -0,0 +1,7 @@
var stringify = require('../');
var obj = { d: 6, c: 5, b: [{z:3,y:2,x:1},9], a: 10 };
var s = stringify(obj, function (a, b) {
return a.value < b.value ? 1 : -1;
});
console.log(s);