@uniiem/caesar
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

@uniiem/caesar

GitHub Actions Workflow Status NPM Downloads NPM Version (with dist tag) npm bundle size GitHub License

A simple caesar cipher library.

Installation

npm install @uniiem/caesar

Usage

import { encode, decode rot13 } from '@uniiem/caesar';

const encoded = encode('Caesar cipher lib test!', 3);
console.log(encoded); // 'Fdhvdu flskhu ole whvw!'
const decoded = decode(encoded, 3);
console.log(decoded); // 'Caesar cipher lib test!'
const rot13ed = rot13('Caesar cipher lib test!');
console.log(rot13ed); // 'Pnrfne pvcure yvo grkg!'

Package Sidebar

Install

npm i @uniiem/caesar

Weekly Downloads

1

Version

0.1.3

License

MIT

Unpacked Size

4.37 kB

Total Files

6

Last publish

Collaborators

  • hoshinosuzumi