# textsplitr

> split text, free simple equivalent of greensock SplitText

Latest version **0.1.1** (published 2016-11-23) · MIT license · 0 weekly downloads

## Install

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

## 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.1.1 |
| Published | 2016-11-23 |
| First published | 2016-11-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Nicolas Bouvet |
| Maintainers | titoasty |
| Keywords | text, split, splittext, textsplitr |

## Links

- npm: https://www.npmjs.com/package/textsplitr
- npm.io page: https://npm.io/package/textsplitr

## Alternatives

- [ext-list](https://npm.io/package/ext-list.md) — 6.3M weekly downloads
- [@lexical/selection](https://npm.io/package/@lexical/selection.md) — 3.8M weekly downloads
- [@lexical/text](https://npm.io/package/@lexical/text.md) — 3.6M weekly downloads
- [@lexical/clipboard](https://npm.io/package/@lexical/clipboard.md) — 3.0M weekly downloads
- [@tiptap/extension-mention](https://npm.io/package/@tiptap/extension-mention.md) — 3.0M weekly downloads

## Recent versions

- 0.1.1 (latest) — 2016-11-23
- 0.1.0 — 2016-11-21

## README

# TextSplitr
split text, free simple equivalent of greensock SplitText
nested `<span>` tags are kept after split.

## install

via npm :
```
npm install --save textsplitr
```

or use directly :
```html
<script src="/textsplitr.min.js"></script>
```

## documentation

```
new TextSplitr(DOMelement, [options]);
```

Parameters :
- `DOMelement` : the DOM element you want to split
- `options` (optional) : object with the possible following properties :
    + `type` (default: 'chars') : a comma-delimited list of the split type(s) which can be any of the following: chars, words.

## license

ISC

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