diff --git a/.verb.md b/.verb.md index c6594ef..13143a4 100644 --- a/.verb.md +++ b/.verb.md @@ -4,6 +4,8 @@ Sort an array by the given object property: ```js var arraySort = require('{%= name %}'); +// or for ES6 imports: +import arraySort from 'array-sort' var arr = [{foo: 'y'}, {foo: 'z'}, {foo: 'x'}]; arraySort(arr, 'foo');