1.0.0 • Published 8 years ago

rotrot v1.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
8 years ago

rotrot

Rotate string back and forth

Installation

npm install rotrot

Usage

var rot = require('rotrot');

var string = 'Hey-hey';

// add 30 to all char codes
var rotated = rot(string, 30);

// rotate back char codes to get initial string
var initialString = rot(rotated, -30);

License

MIT

1.0.0

8 years ago