Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.129.71.225
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp-musonza /
node_modules /
sort-keys /
Delete
Unzip
Name
Size
Permission
Date
Action
index.js
788
B
-rw-r--r--
2016-05-18 04:39
license
1.09
KB
-rw-r--r--
2014-04-06 15:43
package.json
1.53
KB
-rw-r--r--
2021-02-04 21:24
readme.md
1002
B
-rw-r--r--
2016-05-18 04:43
Save
Rename
# sort-keys [](https://travis-ci.org/sindresorhus/sort-keys) > Sort the keys of an object Useful to get a deterministically ordered object, as the order of keys can vary between engines. ## Install ``` $ npm install --save sort-keys ``` ## Usage ```js const sortKeys = require('sort-keys'); sortKeys({c: 0, a: 0, b: 0}); //=> {a: 0, b: 0, c: 0} sortKeys({b: {b: 0, a: 0}, a: 0}, {deep: true}); //=> {a: 0, b: {a: 0, b: 0}} sortKeys({c: 0, a: 0, b: 0}, { compare: (a, b) => -a.localeCompare(b) }); //=> {c: 0, b: 0, a: 0} ``` ## API ### sortKeys(input, [options]) Returns a new object with sorted keys. #### input Type: `Object` #### options ##### deep Type: `boolean` Recursively sort keys. ##### compare Type: `Function` [Compare function.](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort) ## License MIT © [Sindre Sorhus](https://sindresorhus.com)