You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

ick

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ick - npm Package Compare versions

Comparing version

to
0.0.3

12

index.js

@@ -15,2 +15,5 @@ /* eslint camelcase: 0 */ // <-- Per Jupyter message spec

const marked = require('marked');
const TerminalRenderer = require('marked-terminal');
// TODO: Launch a kernel

@@ -54,2 +57,6 @@ // For now, rely on an argument for a kernel runtime

marked.setOptions({
renderer: new TerminalRenderer(),
});
rl.setPrompt(`ick${langInfo.file_extension}> `);

@@ -99,3 +106,6 @@ rl.prompt();

displayData.subscribe(data => {
if(data['text/plain']) {
if(data['text/markdown']) {
console.log(marked(data['text/markdown']));
}
else if(data['text/plain']) {
console.log(data['text/plain']);

@@ -102,0 +112,0 @@ }

4

package.json
{
"name": "ick",
"version": "0.0.2",
"version": "0.0.3",
"description": "Interactive Console Experiment",

@@ -14,4 +14,6 @@ "main": "index.js",

"enchannel-zmq-backend": "^0.4.0",
"marked": "^0.3.5",
"marked-terminal": "^1.6.1",
"uuid": "^2.0.1"
}
}

@@ -14,3 +14,3 @@ # Interactive Console Experiments

* Launch `jupyter console`
* Type `%connect_info` into your jupyter console
* Type `%connect_info` into your jupyter console, grab the path to the kernel-XXXX.json
* Run `node index.js /path/to/your/kernel-XXXX.json`