# equinumerica

> Get the indices in an array where the sum of the preceding elements is equal to the sum of the remaining elements

Latest version **1.1.1** (published 2017-10-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install equinumerica
pnpm add equinumerica
yarn add equinumerica
bun add equinumerica
```

## 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.1 |
| Published | 2017-10-14 |
| First published | 2017-08-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jacob Ward |
| Maintainers | jacobwarduk |
| Keywords | array, equal, split, equinumeric |

## Links

- npm: https://www.npmjs.com/package/equinumerica
- Repository: https://github.com/jacobwarduk/equinumerica
- Homepage: https://github.com/jacobwarduk/equinumerica#readme
- Issues: https://github.com/jacobwarduk/equinumerica/issues
- npm.io page: https://npm.io/package/equinumerica

## Recent versions

- 1.1.1 (latest) — 2017-10-14
- 1.1.0 — 2017-09-22
- 1.0.2 — 2017-08-19
- 1.0.1 — 2017-08-19
- 1.0.0 — 2017-08-19

## README

# equinumerica

[![npm](https://img.shields.io/npm/dt/equinumerica.svg)](https://www.npmjs.com/package/equinumerica) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)  [![Build Status](https://travis-ci.org/jacobwarduk/equinumerica.svg?branch=master)](https://travis-ci.org/jacobwarduk/equinumerica) [![codecov](https://codecov.io/gh/jacobwarduk/equinumerica/branch/master/graph/badge.svg)](https://codecov.io/gh/jacobwarduk/equinumerica)

**Get the indices in an array where the sum of the preceding elements is equal to the sum of the remaining elements**

 > Given an array of integers, returns any indices, such that `0 ≤ P < N` and the sum of the elements in the lower indices is equal to the sum of the elements in the higher indices.
 In the event the array has no such points, `NaN` will be returned.
 
 
### Installation
`npm install equinumerica`
 
### Usage
```javascript
const equinumerica = require('equinumerica');

equinumerica([-1, 3, -4, 5, 1, -6, 2, 1]); //--> [1, 3, 7]
```

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