const {JsContext} = require('stencila')

/**
 * A Node.js context for executing Javascript code
 */
class NodeContext extends JsContext {}

NodeContext.spec = {
  name: 'NodeContext',
  base: 'Context',
  aliases: ['js', 'node']
}

module.exports = NodeContext

const {JsContext} = require('stencila')

/**
 * A Node.js context for executing Javascript code
 */
class NodeContext extends JsContext {}

NodeContext.spec = {
  name: 'NodeContext',
  client: 'ContextHttpClient',
  aliases: ['js', 'node']
}

module.exports = NodeContext

Switch to new spec protocol
Switch to new spec protocol
