UNPKG

yapm

Version:

package manager for io.js (npm fork)

12 lines (8 loc) 210 B
"use strict"; module.exports = function (input) { var output = Object.create(null); Object.keys(input).sort().forEach(function (key) { output[key] = input[key]; }); return output; };