the worst package ever. Simple extended prompt i use for running javascript and shell at the same time. Use it if you want.
Simple use case
npm install -g promptsj
in terminal execute: promptsj
You are presented with: a = 1console1 { console } hello worldwget http://google.comcurl http://google.com<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8"><TITLE>301 Moved</TITLE></HEAD><BODY><H1>301 Moved</H1>The document has moved<A HREF="http://www.google.com/">here</A></BODY></HTML> // Running node programs.cat examplejsconsole; node examplejshello world //running node bin programs for example benchgetnab -c 20 -n 20 http://google.comRunning 20 requests with a concurrency of 20 Url to test: http://google.com to Finish with 20 results! All Tests finished in 216 msThere are 20 results // New Feature //Now you can assign bash results to javascript, and interpolate javascript to bash//Currently only support for variables in global scopurl = 'http://google.com'output = curl url % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed100 219 100 219 0 0 1561 0 --:--:-- --:--:-- --:--:-- 1564 <HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8"><TITLE>301 Moved</TITLE></HEAD><BODY><H1>301 Moved</H1>The document has moved<A HREF="http://www.google.com/">here</A></BODY></HTML> console % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0100 219 100 219 0 0 1561 0 --:--:-- --:--:-- --:--:-- 1564<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8"><TITLE>301 Moved</TITLE></HEAD><BODY><H1>301 Moved</H1>The document has moved<A HREF="http://www.google.com/">here</A> </BODY></HTML> // New Feature Now you the stderr and stdout or splittable on '|||' url = 'http://google.com'output = curl url % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed100 219 100 219 0 0 2258 0 --:--:-- --:--:-- --:--:-- 2281 <HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8"><TITLE>301 Moved</TITLE></HEAD><BODY><H1>301 Moved</H1>The document has moved<A HREF="http://www.google.com/">here</A></BODY></HTML> split = outputerr = split0out = split1' % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\n 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\n100 219 100 219 0 0 2258 0 --:--:-- --:--:-- --:--:-- 2281\n''<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">\n<TITLE>301 Moved</TITLE></HEAD><BODY>\n<H1>301 Moved</H1>\nThe document has moved\n<A HREF="http://www.google.com/">here</A>.\n\n</BODY></HTML>\n\n'