0.0.1 • Published 9 years ago
lil-scrambler v0.0.1
Lil Scrambler
A lil html scrambler with embedded HIDDEN MESSAGES, just for the lulz.
var srambler = require('lil-scrambler');
var someDiv = document.querySelector('.some-div-on-the-page')
// generates random char markup
scrambler.scramble(
// required
'Lil Boosie is free',
// optional
someDiv // defaults to document.body
);
// shows the hidden message
scrambler.unscramble(
// optional
divToQuery, // defaults to document
someDiv // defaults to document.body
);
To Test
Clone the repo and run:
$ npm install
$ npm test
Testing with Zuul and Phantomjs
0.0.1
9 years ago