1.1.0 • Published 6 months ago

brainrot v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

brainrot

NPMCBT badge

A ROT cipher tool

Usage

brainrot is a ROT cipher tool. Run it and it will do a Caesar cipher (also known as rotation cipher) on your provided input.

You can specify the number of rotations with -r <rotations>. If you omit this value, brainrot will do 26 iterations automatically.

For example, npx brainrot -r 13 Caesar shift will produce:

Pnrfne fuvsg

Without -r, you would get:

 0: Caesar shift
 1: Dbftbs tijgu
 2: Ecguct ujkhv
 3: Fdhvdu vkliw
 ...
 ...
 ...
23: Zxbpxo pefcq
24: Aycqyp qfgdr
25: Bzdrzq rghes
26: Caesar shift

Lore

The code for cipher.ts originally came from my older project, rot-cipher.

License

Licensed under ISC

Copyright (c) 2023 tycrek

1.1.0

6 months ago

1.0.0

6 months ago