2.0.0 • Published 5 months ago

x10ascii v2.0.0

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

x10ascii

Become a x10 engineer 😜

Installation

npm i x10ascii

Usage

const { x10 } = require('x10ascii');

// prints out available chars
console.log(x10("0123456789!+-\nABCDEFGHIJKLM\nNOPQRSTUVWXY\nZ.(_)$\"@\"%\'?\'"));
 _____    __  _____  _____  _        _____  _____  _____  _____  _____  _               
|  _  | /   ||___  ||___  || |  _   |  ___||  ___||__   /|  _  ||  _  || |   _          
| | | |/_/| | ___| | ___| || |_| |_ | |__  | |___    / / | |_| || |_| || | _| |_  _____ 
| | | |   | ||  ___||___  ||___   _||___ \ |  _  |  / /  |  _  ||___  ||_||_   _||_____|
| |_| |   | || |___  ___| |    | |   ___| || |_| | / /   | |_| | ___| | _   |_|         
|_____|   |_||_____||_____|    |_|  |____/ |_____|/_/    |_____||_____||_|              
 _____  ____    _____  ____   _____  _____  _____  _    _  _      _  _    __ _      _________ 
|  _  ||  _  \ |  ___||  _ \ |  ___||  ___||  ___|| |  | || |    | || |  / /| |    |  _   _  |
| |_| || |_| / | |    | | | || |___ | |___ | |    | |__| || |    | || |_/ / | |    | | | | | |
|  _  ||  _  \ | |    | | | ||  ___||  ___|| |  _ |  __  || | _  | ||  _ |  | |    | | | | | |
| | | || |_|  || |___ | |_| || |___ | |    | |_| || |  | || || |_| || | \ \ | |___ | | | | | |
|_| |_||_____/ |_____||____/ |_____||_|    |_____||_|  |_||_||_____||_|  \_\|_____||_| |_| |_|
 _   _  ______  ____    _____   ____    _____  _____  _   _  _   _  _   _   _  _    _  _   _ 
| \ | ||  __  ||  _  \ |  _  | |  _  \ |  ___||_   _|| | | || | | || | | | | |\ \  / /\ \_/ /
|  \| || |  | || |_|  || | | | | |_|  || |___   | |  | | | || | | || | | | | | \ \/ /  \   / 
|     || |  | ||  __ / | | | | |  _  / |___  |  | |  | | | || | | || | | | | | |    |   | |  
| |\  || |__| || |     | |_\ \ | | \ \  ___| |  | |  | |_| |\ \_/ /| |_| |_| | / /\ \   | |  
|_| \_||______||_|     |____\_\|_|  \ \|_____|  |_|  |_____| \___/ |_________|/_/  \_\  |_|  
 ______        __       __    __|__  _   _         _   _  _   __ _  _____  _ 
|____  /      / /       \ \  |  ___|| | | | _____ | | | ||_| / /| ||___  || |
    / /      / /         \ \ | ||__ |_| |_||  _  ||_| |_|   / / |_| ___| ||_|
   / /      |  |         |  ||___  |       | | | |         / /     |  ___|   
  / /___  _  \ \  _____  / /  __|| |       | |___|        / / _    |_|       
 /______||_|  \_\|_____|/_/  |__|__|       |____         /_/ |_|    _        
const { log, test, here } = require('x10ascii');

// easly print and style your console logs for debugging or just fun
test(1, ["x10", "blue", "singleArrow"]);
log("Test 2", ["x10", "red"]);
test(3, ["x10", "cyan"]);
log("1 < 3 > 2", ["x10", "magenta"]);
here();
here(1, ["yellow", "bold", "crossedOut"]);
                            _____  _____  _____  _____      __                            
                     __    |_   _||  ___||  ___||_   _|   /   |    __                     
 _____  _____  _____ \ \     | |  | |___ | |___   | |    /_/| |   / / _____  _____  _____ 
|_____||_____||_____| \ \    | |  |  ___||___  |  | |       | |  / / |_____||_____||_____|
                      / /    | |  | |___  ___| |  | |       | |  \ \                      
                     /_/     |_|  |_____||_____|  |_|       |_|   \_\                     
 _____  _____  _____  _____    _____ 
|_   _||  ___||  ___||_   _|  |___  |
  | |  | |___ | |___   | |     ___| |
  | |  |  ___||___  |  | |    |  ___|
  | |  | |___  ___| |  | |    | |___ 
  |_|  |_____||_____|  |_|    |_____|
 _____  _____  _____  _____    _____ 
|_   _||  ___||  ___||_   _|  |___  |
  | |  | |___ | |___   | |     ___| |
  | |  |  ___||___  |  | |    |___  |
  | |  | |___  ___| |  | |     ___| |
  |_|  |_____||_____|  |_|    |_____|
   __          _____          _____ 
 /   |    __  |___  |  __    |___  |
/_/| |   / /   ___| |  \ \    ___| |
   | |  / /   |___  |   \ \  |  ___|
   | |  \ \    ___| |   / /  | |___ 
   |_|   \_\  |_____|  /_/   |_____|
                     __      _    _  _____  ____    _____    _____      __                     
 _____  _____  _____ \ \    | |  | ||  ___||  _  \ |  ___|  |  _  |    / / _____  _____  _____ 
|_____||_____||_____| \ \   | |__| || |___ | |_|  || |___   | | | |   / / |_____||_____||_____|
 _____  _____  _____  |  |  |  __  ||  ___||  _  / |  ___|  | | | |  |  |  _____  _____  _____ 
|_____||_____||_____| / /   | |  | || |___ | | \ \ | |___   | |_| |   \ \ |_____||_____||_____|
                     /_/    |_|  |_||_____||_|  \ \|_____|  |_____|    \_\                     
HERE 1

Features

  • x10 any string
  • better console.logs
  • easy logs formatting
  • quick log TEST or HERE with any number

Examples

More examples can be found in the examples.js file.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

GitHub

Project Link: https://github.com/splieseis/x10ASCII

Contact

Simon Plieseis – @S_Plieseis

License

MIT