lil-scrambler
v0.0.1
Published
A lil page scrambler with embedded HIDDEN MESSAGES, simply for the lulz
Downloads
4
Readme
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