robo-talk
v1.0.1
Published
Encode / decode your human messages into something any robot would understand.
Downloads
8
Maintainers
Readme
robo-talk
Encode / decode your human messages into something any robot would understand.
Install
$ npm install --save robo-talk
Usage
const robotalk = require('robo-talk');
robotalk.encode('unicorns & rainbows');
//=> 'Beeep Beeep Beeeeep. Beeep Beeep Bip. Beeep Bip Booop. Bopp Bopp. Beeep Beeep Beeep. Beeep Beeep Boop. Beeep Beeep Bip. Beeep Beeep Booop. Beeeep Bop. Beeeep Boooop. Beeeep Bop. Beeep Beeep Boop. Bopp Beeeeep. Beeep Bip Booop. Beeep Beeep Bip. Bopp Boooop. Beeep Beeep Beeep. Beeep Beeep Bopp. Beeep Beeep Booop'
robotalk.decode('Beeep Beeep Beeeeep. Beeep Beeep Bip. Beeep Bip Booop. Bopp Bopp. Beeep Beeep Beeep. Beeep Beeep Boop. Beeep Beeep Bip. Beeep Beeep Booop. Beeeep Bop. Beeeep Boooop. Beeeep Bop. Beeep Beeep Boop. Bopp Beeeeep. Beeep Bip Booop. Beeep Beeep Bip. Bopp Boooop. Beeep Beeep Beeep. Beeep Beeep Bopp. Beeep Beeep Booop');
//=> unicorns & rainbows
Special Character Support
robo-talk can encode and decode special characters, so have some fun with your messages!
robotalk.encode('🍕 + 🍺');
//=> 'Booop Booop Beeeep Booop Blipp. Booop Beeeeep Beeep Beeeeep Beeeep. Beeeep Bop. Boop Beeeep. Beeeep Bop. Booop Booop Beeeep Booop Blipp. Booop Beeeeep Bop Beeep Bip'
API
robotalk.encode(text)
text
Type: String
Encode your human message into robot talk.
robotalk.decode(text)
text
Type: String
Decode your robot talk into human talk.
License
MIT © Michael Wuergler