Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

terminal-in-react-node-eval-plugin

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

terminal-in-react-node-eval-plugin

Plugin to add node evaluation and repl to terminal-in-react

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
37
decreased by-35.09%
Maintainers
1
Weekly downloads
 
Created
Source

Node Eval Plugin

Downloads Downloads NPM Version Dependencies Dev Dependencies License

Plugin to add node evaluation and repl to terminal-in-react

Install

npm i -S terminal-in-react-node-eval-plugin
yarn add terminal-in-react-node-eval-plugin

Usage

The plugin requires a file system plugin to work currently terminal-in-react-pseudo-file-system-plugin is the only one available. You have to pass the name of the file system plugin as a config option.

import NodeEvalPlugin from 'terminal-in-react-node-eval-plugin';
import pseudoFileSystemPlugin from 'terminal-in-react-pseudo-file-system-plugin';
const FileSystemPlugin = pseudoFileSystemPlugin();

...
<Terminal
  plugins={[
    FileSystemPlugin,
    {
      class: NodeEvalPlugin,
      config: {
        filesystem: FileSystemPlugin.displayName
      }
    }
  ]}
/>
...

Commands

The commands it adds are:

  • node

Plugin public methods

The methods available to other plugins

  • node

TODO

  • Eval files
  • Node repl
  • Eval node requires
  • Run as process (web workers)

Keywords

FAQs

Package last updated on 25 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc