# is-sorted-ts

> A small module to check if an Array is sorted

Latest version **1.0.3** (published 2019-04-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-sorted-ts
pnpm add is-sorted-ts
yarn add is-sorted-ts
bun add is-sorted-ts
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2019-04-18 |
| First published | 2019-04-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | nbili |
| Maintainers | nbili |
| Keywords | typescript, array, is-sorted, sorting, array |

## Links

- npm: https://www.npmjs.com/package/is-sorted-ts
- Repository: https://github.com/nbili/is-sorted-ts
- Homepage: https://github.com/nbili/is-sorted-ts#readme
- Issues: https://github.com/nbili/is-sorted-ts/issues
- npm.io page: https://npm.io/package/is-sorted-ts

## Dependencies (1)

- [typescript](https://npm.io/package/typescript.md) ^3.4.3

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2019-04-18
- 1.0.2 — 2019-04-18
- 1.0.1 — 2019-04-17
- 1.0.0 — 2019-04-17

## README

# is-sorted-ts ![NPM version](https://img.shields.io/npm/v/is-sorted-ts.svg?style=flat) ![Linux Build Status](https://travis-ci.com/nbili/is-sorted-ts.svg?branch=master)

A small module to check if an Array is sorted

## Install

Install with [npm](https://www.npmjs.com/):

```sh
$ npm install --save is-sorted-ts
```

## Usage

```js
const isSorted = require('is-sorted-ts')

console.log(isSorted([])) // true
console.log(isSorted([1, 2, 3])) // true
console.log(isSorted([3, 2, 1], (a, b) => b - a)) // false 
```

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