# custom-sorts

> custom sorts

Latest version **0.0.5** (published 2021-11-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install custom-sorts
pnpm add custom-sorts
yarn add custom-sorts
bun add custom-sorts
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2021-11-29 |
| First published | 2021-11-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | sin-jin |
| Maintainers | sin-jin |

## Links

- npm: https://www.npmjs.com/package/custom-sorts
- npm.io page: https://npm.io/package/custom-sorts

## Recent versions

- 0.0.5 (latest) — 2021-11-29
- 0.0.4 — 2021-11-29
- 0.0.3 — 2021-11-29
- 0.0.2 — 2021-11-27
- 0.0.1 — 2021-11-27

## README

# custom-sorts

This library is custom sort utils.

## Installation

```shell
npm install custom-sorts
```

### or

```shell
yarn add custom-sorts
```

## Usage

This is all you need to get started:

```ts
const customSort = require('custom-sorts');
customSort.neSort([{ a: 10 }, { a: 5 }, { a: 20 }, { a: 8 }, {}], 'a', true);
// [ { a: 5 }, { a: 8 }, { a: 10 }, { a: 20 }, {} ]
```

### or es6

```ts
import { neSort } from 'custom-sorts';
neSort([{ a: 10 }, { a: 5 }, { a: 20 }, { a: 8 }, {}], 'a', false);
// [ { a: 20 }, { a: 10 }, { a: 8 }, { a: 5 }, {} ]
```

## License

[MIT](https://github.com/ogasawaraShinnosuke/custom-sorts/blob/main/LICENSE)

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