hint.js
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i hint.js

Weekly Downloads

2

Version

0.1.0

License

BSD-2-Clause

Unpacked Size

5.99 kB

Total Files

17

Last publish

Collaborators

  • beenotung