@ignatiusmb/scramble
v3.0.1
Published
Text node scrambler, quick setup with minimal hassle.
Downloads
27
Readme
Scramble ·
const scramble = require('@ignatiusmb/scramble')
scramble(document.querySelector('#yourElement')).run() // single element
scramble(document.querySelectorAll('.scramble-group')) // multiple elements
Installation
via NPM
$ npm install @ignatiusmb/scramble
via UNPKG
<script src="https://unpkg.com/@ignatiusmb/[email protected]/lib/scramble.min.js"></script>
via jsDelivr
<script src="https://cdn.jsdelivr.net/gh/ignatiusmb/[email protected]/lib/scramble.min.js"></script>