Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

obsort

nepsho9MIT0.0.1

object sort

sort, object sort

readme

ObSort

Build Status npm license npm repository

JavaScript module to sort array of object

Installing

$ npm install obsort

Examples

>> const obsort = require("obsort");
>> var arr = [{...},{...},{...},{...}];
>> arr.sort(obsort("field"));
>> arr.sort(obsort("field1","field2");

licence

MIT licence

Author

@BCrazyDreamer