brainrot
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i brainrot

Weekly Downloads

1

Version

1.1.0

License

ISC

Unpacked Size

6.4 kB

Total Files

7

Last publish

Collaborators

  • tycrek