A simple yet stunning interface for console input and output.
At its core Sqwk is a wrapper for terminal-menu but it provides a much more intuitive interface to provide consistent ease of use.
In the future Sqwk will same mirror the CLI interface to the browser so your application will have a simple GUI integrated with NW.js without any additional development. This will make your application instantly accessible to users wary of the command line.
The following features are planned for the 1.0.0 release:
Installation via npm
npm install --save sqwk
Or for the latest development release
npm install --save
sqwk =// Must be called before any sqwk.write()sqwk// Must be called at the end of your applicationsqwk
The following options can be passed as an object via
(Boolean)Clear console before each write?
(Object)Options passed to terminal-menu
(function)A function to format the title
Set options and capture user input
Write a message or menu to the terminal
(String | Array)Message or messages
(Array)Selectable menu options
(function)Write a message or menu to the terminal
Close terminal and exit process
For changes refer to CHANGELOG.md
I'm always on the look out for collaborators so feel free to suggest new features, log an issue or just fork at will.