We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d527bd0 commit 0adaf54Copy full SHA for 0adaf54
.verb.md
@@ -4,6 +4,8 @@ Sort an array by the given object property:
4
5
```js
6
var arraySort = require('{%= name %}');
7
+// or for ES6 imports:
8
+import arraySort from 'array-sort'
9
10
var arr = [{foo: 'y'}, {foo: 'z'}, {foo: 'x'}];
11
arraySort(arr, 'foo');
0 commit comments