Package Exports
- sort-object
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sort-object) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
sort-object 
Sort the keys in an object
Quickstart
npm i sort-object --savevar sort = require('sort-object');
var outOfOrder = {
'foo': 1,
'baz': 2,
'bar': 3
};
console.log('before: ', outOfOrder);
var inOrder = sort(outOfOrder);
console.log('inOrder: ', inOrder);
console.log('after: ', outOfOrder);Run the tests
npm i mocha -gthen run:
mochaAuthor
License
Copyright (c) 2013 Brian Woodward Licensed under the MIT license.
Project created by Assemble.