Name : nodejs010-nodejs-sorted-object
| |
Version : 1.0.0
| Vendor : CentOS
|
Release : 3.el6
| Date : 2015-10-04 16:46:59
|
Group : Development/Languages/Other
| Source RPM : nodejs010-nodejs-sorted-object-1.0.0-3.el6.src.rpm
|
Size : 0.00 MB
| |
Packager : CBS < cbs_centos_org>
| |
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.
|
RPM found in directory: /vol/rzm7/linux-centos-vault/6.9/sclo/x86_64/rh/nodejs010 |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
nodejs010-npm(sorted-object)
nodejs010-nodejs-sorted-object
Requires :