# m-sorted-array

> Implementation of insert, find and remove of sorted array

Latest version **1.1.3** (published 2015-11-04) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install m-sorted-array
pnpm add m-sorted-array
yarn add m-sorted-array
bun add m-sorted-array
```

## 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.1.3 |
| Published | 2015-11-04 |
| First published | 2015-11-04 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Mieszko4 |
| Maintainers | mieszko4 |
| Keywords | insertion sort |

## Links

- npm: https://www.npmjs.com/package/m-sorted-array
- Repository: https://github.com/mieszko4/m-sorted-array
- Homepage: https://github.com/mieszko4/m-sorted-array#readme
- Issues: https://github.com/mieszko4/m-sorted-array/issues
- npm.io page: https://npm.io/package/m-sorted-array

## Recent versions

- 1.1.3 (latest) — 2015-11-04
- 1.1.2 — 2015-11-04
- 1.1.1 — 2015-11-04
- 1.1.0 — 2015-11-04

## README

# m-sorted-array [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage percentage][coveralls-image]][coveralls-url]
> Implementation of insert, find and remove of sorted array


## Install

```sh
$ npm install --save m-sorted-array
```


## Usage

```js
var SortedArray = require('m-sorted-array');

var SortedArray = require('./lib');
var sortedArray = SortedArray([8, 3, 2, 9, 1]);
console.log(sortedArray.array); // [1, 2, 3, 8, 9]

sortedArray.insert(5);
console.log(sortedArray.array); // [1, 2, 3, 5, 8, 9]

console.log(sortedArray.find(4)); // -1

var strict = false;
console.log(sortedArray.find(4, strict)); // 3

sortedArray.remove(2); // true
sortedArray.remove(2); // false
console.log(sortedArray.array); // [1, 3, 5, 8, 9]
```

## License

Apache-2.0 © [Mieszko4]()


[npm-image]: https://badge.fury.io/js/m-sorted-array.svg
[npm-url]: https://npmjs.org/package/m-sorted-array
[travis-image]: https://travis-ci.org/mieszko4/m-sorted-array.svg?branch=master
[travis-url]: https://travis-ci.org/mieszko4/m-sorted-array
[daviddm-image]: https://david-dm.org/mieszko4/m-sorted-array.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/mieszko4/m-sorted-array
[coveralls-image]: https://coveralls.io/repos/mieszko4/m-sorted-array/badge.svg
[coveralls-url]: https://coveralls.io/r/mieszko4/m-sorted-array

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