4.0.0 • Published 8 months ago

tripcode v4.0.0

Weekly downloads
8
License
MIT
Repository
github
Last release
8 months ago

tripcode

JavaScript implementation of 4chan's tripcode algorithm.

Example

var tripcode = require('tripcode');

tripcode('f}EAmbA%');
// => '/izs/14Iuw'

There's even a tripcode command if you install globally!

$ tripcode github is cool
#github => !lLf/rxkwgg
#is => !4CEimo5sKs
#cool => !QkO1sgFXdY

You can also pipe in a newline-delimited file:

$ cat > codes.txt
github
is
cool

$ tripcode < codes.txt
#github => !lLf/rxkwgg
#is => !4CEimo5sKs
#cool => !QkO1sgFXdY

Or pipe out the tripcodes to grep or something to find specific tripcodes!

$ tripcode < /usr/share/dict/words | grep -E '(/AhWyw3toI)'
#incognito => !/AhWyw3toI

Installation

$ npm install tripcode

Unless you want the tripcode command, in which case you gotta install globally:

$ npm install -g tripcode

API

var tripcode = require('tripcode');

tripcode(password)

Returns the tripcode generated from String password.

4.0.0

8 months ago

3.0.3

1 year ago

3.0.2

1 year ago

3.0.1

1 year ago

3.0.0

1 year ago

2.0.1

2 years ago

2.0.0

3 years ago

1.4.0

3 years ago

1.3.5

3 years ago

1.3.4

7 years ago

1.3.3

8 years ago

1.3.2

10 years ago

1.3.1

10 years ago

1.3.0

10 years ago

1.2.0

10 years ago

1.1.0

11 years ago

1.0.4

11 years ago

1.0.3

11 years ago

1.0.2

11 years ago

1.0.1

11 years ago

1.0.0

11 years ago