Skip to content

beenotung/hint.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published