[ol7_software_collections] rh-nodejs6-nodejs-sorted-object-2.0.0-1.el7.noarch

Name:rh-nodejs6-nodejs-sorted-object
Version:2.0.0
Release:1.el7
Architecture:noarch
Group:Unspecified
Size:2471
License:WTFPL
RPM: rh-nodejs6-nodejs-sorted-object-2.0.0-1.el7.noarch.rpm
Source RPM: rh-nodejs6-nodejs-sorted-object-2.0.0-1.el7.src.rpm
Build Date:Thu May 18 2017
Build Host:x86-ol7-builder-01.us.oracle.com
Vendor:Oracle America
URL:https://github.com/domenic/sorted-object
Summary:Returns a copy of an object with its keys sorted
Description:
Although objects in JavaScript are theoretically unsorted, in practice most engines use insertion order—at least, ignoring numeric keys. This manifests itself most prominently when dealing with an object's JSON serialization.

So, for example, you might be trying to serialize some object to a JSON file. But every time you write it, it ends up being output in a different order, depending on how you created it in the first place! This makes for some ugly diffs.

sorted-object gives you the answer. Just use this package to create a version of your object with its keys sorted before serializing, and you'll get a consistent order every time.

Related Packages (Show Changelog) (Show Filelist)