Socket
Socket
Sign inDemoInstall

@mongosh/browser-runtime-core

Package Overview
Dependencies
326
Maintainers
11
Versions
114
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @mongosh/browser-runtime-core

Mongosh browser runtime core


Version published
Maintainers
11
Created

Readme

Source

browser-runtime-core

Core and support classes and types used by runtimes.

Api

Runtime

Encapsulates the details of evaluation logic exposing an implementation agnostic interface.

All runtimes implement the following interface:

  • evaluate(code: string): Promise<ShellResult>: Evaluates a string of code.

ShellResult

An object holding the result of an evaluation. Has the following properties:

  • type: string: the shell api type if the entry value is a shell api object.
  • value: any: the value that has to be rendered in output.

FAQs

Last updated on 03 Mar 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc