📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP

@qp-mongosh/browser-runtime-core

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qp-mongosh/browser-runtime-core

Mongosh browser runtime core

0.0.0-dev.27
latest
Version published
Maintainers
6
Created

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

Package last updated on 11 Mar 2024

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