0.1.0 • Published 5 years ago

hint.js v0.1.0

Weekly downloads
1
License
BSD-2-Clause
Repository
github
Last release
5 years ago

hint.js

generate hint from answer.

npm Package Version

Usage

Use from node.js code

Install in shell:

> npm i hint.js

Run in node.js or browser:

console.log(require('hint.js').mess('the answer')); // teh newrsa

Use from cli

Install and run in shell:

> npm i -g hint.js
> hint apple          # pleap
> echo 'apple' | hint # alpep

Example

Answer (original)

This is an apple tree. What is your name? This is Beeno's watch. 
 Sorry. We’re having trouble getting your pages back.

Hint (messed)

Tshi is an elpap tere. Wath is uyro name? Tish is Bneoe's awcth. 
 Srory. We’er vnghai tulobre tiegtng uryo geaps kacb.
0.1.0

5 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago