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.
- Intuitive interface
- Consist feedback
Roadmap / Todo
The following features are planned for the 1.0.0 release:
- Browser interface
- NW.js integration
Installation via npm
npm install --save sqwk
Or for the latest development release
npm install --save https://github.com/StudioLE/sqwk/archive/master.tar.gz
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
sqwk.write(message, options, callback)
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.