# sort-desc

> Sort array elements in descending order.

Latest version **0.2.0** (published 2015-07-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install sort-desc
pnpm add sort-desc
yarn add sort-desc
bun add sort-desc
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2015-07-18 |
| First published | 2014-08-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Jon Schlinkert |
| Maintainers | jonschlinkert |
| Keywords | array, desc, descend, descending, element, elements, order, ordered, sort, sorted, sorting |

## Links

- npm: https://www.npmjs.com/package/sort-desc
- Repository: https://github.com/jonschlinkert/sort-desc
- Issues: https://github.com/jonschlinkert/sort-desc/issues
- npm.io page: https://npm.io/package/sort-desc

## Recent versions

- 0.2.0 (latest) — 2015-07-18
- 0.1.1 — 2014-08-21
- 0.1.0 — 2014-08-15

## README

# sort-desc [![NPM version](https://badge.fury.io/js/sort-desc.svg)](http://badge.fury.io/js/sort-desc)  [![Build Status](https://travis-ci.org/jonschlinkert/sort-desc.svg)](https://travis-ci.org/jonschlinkert/sort-desc)

> Sort array elements in descending order.

## Install

Install with [npm](https://www.npmjs.com/)

```sh
$ npm i sort-desc --save
```

## Usage

```js
var descending = require('sort-desc');
['a', 'b', 'c', 'd'].sort(descending);
//=> ['d', 'c', 'b', 'a']
```

## Related projects

* [sort-asc](https://github.com/jonschlinkert/sort-asc): Sort array elements in ascending order.
* [sort-object](https://github.com/doowb/sort-object): Sort the keys in an object.

## Running tests

Install dev dependencies:

```sh
$ npm i -d && npm test
```

## Contributing

Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/sort-desc/issues/new)

## Author

**Jon Schlinkert**

+ [github/jonschlinkert](https://github.com/jonschlinkert)
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)

## License

Copyright © 2015 Jon Schlinkert
Released under the MIT license.

***

_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on July 17, 2015._

---
_Source: https://npm.io/package/sort-desc · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
