Sha256: a90e841d945d9d1cb9ee27705e95f242f7c7cfc05924fec35fa0bc9db4743130

Contents?: true

Size: 188 Bytes

Versions: 340

Compression:

Stored size: 188 Bytes

Contents

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);

Version data entries

340 entries across 186 versions & 26 rubygems

Version Path
immosquare-cleaner-0.1.68 node_modules/fast-json-stable-stringify/example/value_cmp.js
immosquare-cleaner-0.1.68 node_modules/json-stable-stringify-without-jsonify/example/value_cmp.js
immosquare-cleaner-0.1.67 node_modules/json-stable-stringify-without-jsonify/example/value_cmp.js
immosquare-cleaner-0.1.67 node_modules/fast-json-stable-stringify/example/value_cmp.js
immosquare-cleaner-0.1.66 node_modules/fast-json-stable-stringify/example/value_cmp.js
immosquare-cleaner-0.1.66 node_modules/json-stable-stringify-without-jsonify/example/value_cmp.js
immosquare-cleaner-0.1.65 node_modules/fast-json-stable-stringify/example/value_cmp.js
immosquare-cleaner-0.1.65 node_modules/json-stable-stringify-without-jsonify/example/value_cmp.js
immosquare-cleaner-0.1.64 node_modules/fast-json-stable-stringify/example/value_cmp.js
immosquare-cleaner-0.1.64 node_modules/json-stable-stringify-without-jsonify/example/value_cmp.js
immosquare-cleaner-0.1.63 node_modules/fast-json-stable-stringify/example/value_cmp.js
immosquare-cleaner-0.1.63 node_modules/json-stable-stringify-without-jsonify/example/value_cmp.js
rapid_stack-0.2.0 templates/frontend/node_modules/json-stable-stringify-without-jsonify/example/value_cmp.js
rapid_stack-0.2.0 templates/frontend/node_modules/fast-json-stable-stringify/example/value_cmp.js
rapid_stack-0.1.1 templates/FrontEnd/node_modules/fast-json-stable-stringify/example/value_cmp.js
rapid_stack-0.1.1 templates/FrontEnd/node_modules/json-stable-stringify-without-jsonify/example/value_cmp.js
rapid_stack-0.1.0 templates/FrontEnd/node_modules/fast-json-stable-stringify/example/value_cmp.js
rapid_stack-0.1.0 templates/FrontEnd/node_modules/json-stable-stringify-without-jsonify/example/value_cmp.js
immosquare-cleaner-0.1.62 node_modules/fast-json-stable-stringify/example/value_cmp.js
immosquare-cleaner-0.1.62 node_modules/json-stable-stringify-without-jsonify/example/value_cmp.js