sveltering
v0.0.9
Published
[![npm version](https://badge.fury.io/js/sveltering.svg)](//npmjs.com/package/sveltering)
Downloads
12
Maintainers
Readme
sveltering :sparkles::person_fencing:
Useful Svelte-component helper to split text inside DOM elements to letters, words or lines.
Install:
npm i sveltering
Usage:
<script>
import Sveltering from "sveltering";
</script>
<Sveltering method="words">
<div>This sentence has been Svelteringed!</div>
</Sveltering>
Methods:
"letters" "words" "lines"
disclaimer
This is my first package made with SvelteKit. Use with caution!