Socket
Socket
Sign inDemoInstall

@mongosh/browser-runtime-core

Package Overview
Dependencies
Maintainers
11
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mongosh/browser-runtime-core

Mongosh browser runtime core


Version published
Weekly downloads
7.8K
decreased by-15.09%
Maintainers
11
Weekly downloads
 
Created
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

Package last updated on 14 Sep 2021

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