itay-time-art
v1.0.6
Published
Print current time using ascii art.
Readme
$ art now
____ ___ ____ ___ ____ __ _ __ ____ ____ _ _ _____
| ___|/ _ \ |___ \ / _ \___ \ / /_ / |/ /_ _| ___| ___|_| || ||___ /
|___ \ (_) | __) | | | |__) | '_ \ | | '_ (_)___ \___ (_) || |_ |_ \
___) \__, | / __/| |_| / __/| (_) | | | (_) | ___) |__) ||__ _|__) |
|____(_)/_(_)_____|\___/_____|\___( ) |_|\___(_)____/____(_) |_||____/
|/Install
npm install --global itay-time-artCommands
| | Command | Prints |
|:--|:--|:--|
| | art time | 9:55.16 |
| | art date | 5.9.2026 |
| | art now | 5.9.2026. 9:55.43 |
| | art -v | 1.0.6 |
Anything else prints a usage hint rather than failing silently:
$ art tomorrow
Wrong usage! Please read the help page on:
https://www.npmjs.com/package/itay-time-artHow it works
| | Step | |
|:--|:--|:--|
| | process.argv | reads the word you typed after art |
| | toLocaleTimeString | formats the moment in your system format |
| | figlet | turns that text into ASCII art |
Notes
| | |
|:--|:--|
| | --global is what creates the command. Without it the package installs into a project folder and no art appears. |
| | Output follows your system locale, so the date format matches your machine. |
| | Needs a wide, monospaced terminal — the art is ~8 rows tall and grows sideways. |
Built with
More from this author
