Usage - mathiasnovas/leet.js GitHub Wiki

There are several ways to use leet.js, but this documentation will cover the two most common approaches.


Command line

This method allows you to execute leet.js as a script from a terminal. It currently takes one parameter - the string you want converted.

./leet.js 'i want to eat snacks and be leet!'

... will output:

I W4N7 70 347 5N4X 4ND B3 1337ZORZ!

You can bypass the conversion by passing uppercase characters:

./leet.js 'i want to eat SNACKS and be leet!'

This will generate:

I W4N7 70 347 SNACKS 4ND B3 1337ZORZ!


As a dependency

Work in progress.