1- [ ![ view on npm] ( http ://img.shields.io /npm/v/sort-array.svg )] ( https://www.npmjs.org/package/sort-array )
2- [ ![ npm module downloads] ( http ://img.shields.io /npm/dt/sort-array.svg )] ( https://www.npmjs.org/package/sort-array )
1+ [ ![ view on npm] ( https ://badgen.net /npm/v/sort-array)] ( https://www.npmjs.org/package/sort-array )
2+ [ ![ npm module downloads] ( https ://badgen.net /npm/dt/sort-array)] ( https://www.npmjs.org/package/sort-array )
33[ ![ Build Status] ( https://travis-ci.org/75lb/sort-array.svg?branch=master )] ( https://travis-ci.org/75lb/sort-array )
44[ ![ Dependency Status] ( https://badgen.net/david/dep/75lb/sort-array )] ( https://david-dm.org/75lb/sort-array )
55[ ![ js-standard-style] ( https://img.shields.io/badge/code%20style-standard-brightgreen.svg )] ( https://github.com/feross/standard )
@@ -172,15 +172,15 @@ Please visit [the sort-array wiki](https://github.com/75lb/sort-array/wiki) for
172172### sort-array
173173Isomorphic, load-anywhere function to sort an array by scalar, deep or computed values in any standard or custom order.
174174
175- ** Example**
175+ ** Example**
176176``` js
177177const sortArray = require (' sort-array' )
178178```
179179<a name =" exp_module_sort-array--sortArray " ></a >
180180
181181#### sortArray(array, [ options] ) ⇒ <code >Array</code > ⏏
182- ** Kind** : Exported function
183- ** Returns** : <code >Array</code > - Returns the array that was passed in.
182+ ** Kind** : Exported function
183+ ** Returns** : <code >Array</code > - Returns the array that was passed in.
184184
185185| Param | Type | Description |
186186| --- | --- | --- |
@@ -201,19 +201,19 @@ This library is compatible with Node.js, the Web and any style of module loader.
201201Node.js:
202202
203203``` js
204- const arrayify = require (' sort-array' )
204+ const sortArray = require (' sort-array' )
205205```
206206
207207Within Node.js with ECMAScript Module support enabled:
208208
209209``` js
210- import arrayify from ' sort-array'
210+ import sortArray from ' sort-array'
211211```
212212
213213Within an modern browser ECMAScript Module:
214214
215215``` js
216- import arrayify from ' ./node_modules/sort-array/dist/index.mjs'
216+ import sortArray from ' ./node_modules/sort-array/dist/index.mjs'
217217```
218218
219219Old browser (adds ` window.sortArray ` ):
0 commit comments