Janeway
A curses/blessed-based console, inspired by the developer tools in Webkit/Blink.
Install
Install it for use in your own application:
npm install janeway
Or use it globally:
npm install -g janeway
Features
- Interactive command line, that always has focus
- Autocomplete
- Output is clickable. Variables can be inspected, just like in the browser
Todo
- Use editor-widget for CLI: https://github.com/slap-editor/editor-widget
- Improve command-line eval/vm situation
- Improve colouring
- Improve multiline support
- Filename & line information per log line
- Add Janeway quotes
- ...
As you can see, there's a lot that still needs to be done.
Use it globally
Start your applications like so:
janeway my_js_file.js
Use as standalone
If you just want to give it a go, try out the start.js
file in Janeway's main folder:
node start.js
Use in your application
You can load Janeway like this:
var Janeway = require('janeway');
// Janeway will take over the screen only when you call start
Janeway.start();
The screen automatically scrolls down when a new line is pushed (unless you've scrolled the screen manually). You can disable this like so:
Janeway.scrollDown = false;
Author
You can follow me on twitter: @skeriten
License
MIT