Socket
Socket
Sign inDemoInstall

console-fun

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

console-fun

Some stuff in the console: utils, printing, games and other fun


Version published
Weekly downloads
4
decreased by-63.64%
Maintainers
0
Weekly downloads
 
Created
Source

console-fun NPM version

Some stuff in the console: utils, printing, games and other fun

Install

$ npm install --global console-fun

CLI

$ console-fun --help

  Some stuff in the console: utils, printing, games and other fun

  Usage
    $ console-fun

  Options
     --topic, -t  Topic, (e.g. game, print)
     --item, -i   Item to be used in context of topic (e.g. hacker-types, read-file, colored-stars-watcher)
     --subject    Subject to be used in context of some items (e.g. filename for read-file item)
     --color      Color to be used in context of some items
     --dimension  Matrix size for grid-like games
     --delay      Delay value to be used for example when reading file line-by-line

  Examples
     $ console-fun --topic game --item stars-watcher
     $ console-fun --topic game --item colored-stars-watcher
     $ console-fun --topic print --item hacker-types
     $ console-fun --topic print --item read-file --subject tmp/bar.txt
     $ console-fun --topic print --item read-file --subject tmp/bar.txt --delay 3000

Demo

colored-stars-game

colored-stars-game-demo

hacker-types

Type any keys and some program text will be printed!

hacker-types-demo

read-file

Read file line-by-line

read-file-demo

etc.

License

MIT © Rushan Alyautdinov

Keywords

FAQs

Package last updated on 21 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc