11[ ![ view on npm] ( https://badgen.net/npm/v/sort-array )] ( https://www.npmjs.org/package/sort-array )
22[ ![ npm module downloads] ( https://badgen.net/npm/dt/sort-array )] ( https://www.npmjs.org/package/sort-array )
3+ [ ![ Gihub repo dependents] ( https://badgen.net/github/dependents-repo/75lb/sort-array )] ( https://github.com/75lb/sort-array/network/dependents?dependent_type=REPOSITORY )
4+ [ ![ Gihub package dependents] ( https://badgen.net/github/dependents-pkg/75lb/sort-array )] ( https://github.com/75lb/sort-array/network/dependents?dependent_type=PACKAGE )
35[ ![ Build Status] ( https://travis-ci.org/75lb/sort-array.svg?branch=master )] ( https://travis-ci.org/75lb/sort-array )
4- [ ![ Dependency Status] ( https://badgen.net/david/dep/75lb/sort-array )] ( https://david-dm.org/75lb/sort-array )
56[ ![ js-standard-style] ( https://img.shields.io/badge/code%20style-standard-brightgreen.svg )] ( https://github.com/feross/standard )
67
78# sort-array
@@ -172,15 +173,15 @@ Please visit [the sort-array wiki](https://github.com/75lb/sort-array/wiki) for
172173### sort-array
173174Isomorphic, load-anywhere function to sort an array by scalar, deep or computed values in any standard or custom order.
174175
175- ** Example**
176+ ** Example**
176177``` js
177178const sortArray = require (' sort-array' )
178179```
179180<a name =" exp_module_sort-array--sortArray " ></a >
180181
181182#### sortArray(array, [ options] ) ⇒ <code >Array</code > ⏏
182- ** Kind** : Exported function
183- ** Returns** : <code >Array</code > - Returns the array that was passed in.
183+ ** Kind** : Exported function
184+ ** Returns** : <code >Array</code > - Returns the array that was passed in.
184185
185186| Param | Type | Description |
186187| --- | --- | --- |
@@ -201,19 +202,19 @@ This library is compatible with Node.js, the Web and any style of module loader.
201202Node.js:
202203
203204``` js
204- const sortArray = require (' sort-array' )
205+ const arrayify = require (' sort-array' )
205206```
206207
207208Within Node.js with ECMAScript Module support enabled:
208209
209210``` js
210- import sortArray from ' sort-array'
211+ import arrayify from ' sort-array'
211212```
212213
213214Within an modern browser ECMAScript Module:
214215
215216``` js
216- import sortArray from ' ./node_modules/sort-array/dist/index.mjs'
217+ import arrayify from ' ./node_modules/sort-array/dist/index.mjs'
217218```
218219
219220Old browser (adds ` window.sortArray ` ):
0 commit comments