# binary-encloser-split

> ``` const result = binaryEncloserSplit("no parenthesis here"); expect(result).to.deep.equal(["no parenthesis here"]);

Latest version **1.0.1** (published 2023-12-23) · ISC license · 0 weekly downloads

## Install

```sh
npm install binary-encloser-split
pnpm add binary-encloser-split
yarn add binary-encloser-split
bun add binary-encloser-split
```

## Health

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

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

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2023-12-23 |
| First published | 2023-12-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 11.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | fbinard |

## Links

- npm: https://www.npmjs.com/package/binary-encloser-split
- npm.io page: https://npm.io/package/binary-encloser-split

## Dependencies (1)

- [chai](https://npm.io/package/chai.md) ^4.3.10

## Recent versions

- 1.0.1 (latest) — 2023-12-23
- 1.0.0 — 2023-12-23

## README

```
const result = binaryEncloserSplit("no parenthesis here");
expect(result).to.deep.equal(["no parenthesis here"]);

const result = binaryEncloserSplit("this (has) (parenthesis)");
expect(result).to.deep.equal(["this", "has", "parenthesis"]);

const result = binaryEncloserSplit("this (has) (parenthesis (with) (nested) parenthesis)");
expect(result).to.deep.equal(["this", "has", "parenthesis (with) (nested) parenthesis"]);

const result = binaryEncloserSplit("( this sentence (has)) (two blocks, (each) with (nested) parenthesis)");
expect(result).to.deep.equal(["this sentence (has)", "two blocks, (each) with (nested) parenthesis"]);

```

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