0.0.2 • Published 8 years ago

wildstrings v0.0.2

Weekly downloads
12
License
-
Repository
github
Last release
8 years ago

Wildstrings by Michał Budzyński

Obfuscating library for JS workshops

What

Wildstring uses String.prototype.link() method to obfuscate strings to the form like this:

a='mclb'.link();a[3*6+2]+a[5*2+4]+a[6*3+3]+a[2*1+1]+a[4*6+2]+a[3*7+1]+a[2*11+1]+a[3*5+1]; // 'michalbe'

Why

Just for fun.

How to use

npm i wildstrings

then:

var ws = require('wildstrings');

console.log(ws('hello')); // a='llo'.link();a[2*1+1]+a[5*3+1]+a[5*4+1]+a[7*3]+a[6*3+4]