0.1.0 • Published 4 months ago

truuu v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

truuu

Generates a truth table from a JavaScript condition.

Install

npm i -g truuu

Usage

$ truuu 'isPizza && !hasPineapple'
╔══════════════════════════════════════════════════════════════╗
║                _____ ____  _   _ _   _ _   _                 ║
║               |_   _|  _ \| | | | | | | | | |                ║
║                 | | | |_) | | | | | | | | | |                ║
║                 | | |  _ <| |_| | |_| | |_| |                ║
║                 |_| |_| \_\\___/ \___/ \___/                 ║
║                                                              ║
╟────────────────────┬──────────────┬──────────────────────────╢
║      isPizza       │ hasPineapple │ isPizza && !hasPineapple ║
╟────────────────────┼──────────────┼──────────────────────────╢
║       false        │    false     │          false           ║
╟────────────────────┼──────────────┼──────────────────────────╢
║       false        │     true     │          false           ║
╟────────────────────┼──────────────┼──────────────────────────╢
║        true        │    false     │           true           ║
╟────────────────────┼──────────────┼──────────────────────────╢
║        true        │     true     │          false           ║
╚════════════════════╧══════════════╧══════════════════════════╝
0.1.0

4 months ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago