# string-split-keep2

> Split strings without applying separator after limit; Negative limit starts from the end. No regex separators.

Latest version **1.0.12** (published 2023-09-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install string-split-keep2
pnpm add string-split-keep2
yarn add string-split-keep2
bun add string-split-keep2
```

## Health

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

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

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.12 |
| Published | 2023-09-08 |
| First published | 2022-02-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 37.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 26 |
| Author | Michael Hopfner |
| Maintainers | bluelovers |
| Keywords | create-by-yarn-tool, create-by-tsdx |

## Links

- npm: https://www.npmjs.com/package/string-split-keep2
- Repository: https://github.com/bluelovers/ws-string
- Homepage: https://github.com/bluelovers/ws-string/tree/master/packages/string-split-keep#readme
- Issues: https://github.com/bluelovers/ws-string/issues
- npm.io page: https://npm.io/package/string-split-keep2

## Recent versions

- 1.0.12 (latest) — 2023-09-08
- 1.0.11 — 2023-04-12
- 1.0.10 — 2022-11-01
- 1.0.9 — 2022-10-15
- 1.0.8 — 2022-09-16
- 1.0.7 — 2022-08-27
- 1.0.4 — 2022-08-26
- 1.0.3 — 2022-08-26
- 1.0.2 — 2022-02-01

## README

# string-split-keep

Split strings without applying separator after limit; Negative limit starts from the end. No regex separators.

```js
	var ssplit = require("string-split-keep")  
	  
	ssplit("word1 word2 word3", " ", 2) //["word1", "word2 word3"]  
	ssplit("word1 word2 word3", " ", -2) //["word1 word2", "word3"]

```

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