# separator-escape

> split a string by a separator, with an escape.

Latest version **0.0.1** (published 2018-05-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install separator-escape
pnpm add separator-escape
yarn add separator-escape
bun add separator-escape
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2018-05-31 |
| First published | 2016-06-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | 'Dominic Tarr' |
| Maintainers | dominictarr |

## Links

- npm: https://www.npmjs.com/package/separator-escape
- Repository: https://github.com/dominictarr/separator-escape
- Issues: https://github.com/dominictarr/separator-escape/issues
- npm.io page: https://npm.io/package/separator-escape

## Recent versions

- 0.0.1 (latest) — 2018-05-31
- 0.0.0 — 2016-06-29

## README

# separator-escape

split a string by a separator, with an escape.

you can choose both the separate and escape.

## example

``` js
//separate by , and escape by !
var sep = require('separator-escape')(',','!')
sep.stringify(['a','b','c'])
// => "a,b,c"
// escape separator
sep.stringify(['a','x,y','c'])
// => a,x!,y,b

//escape escape
sep.stringify(['a','x!y','c'])
// => a,x!!y,b

//escape escape escape separator
sep.stringify(['a','x!,y','c'])
// => a,x!!!,y,b

```

## License

MIT

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