{"library":"repl-sdk","title":"repl-sdk","description":"repl-sdk is a runtime compiler library for building fast, extensible REPLs and interactive playgrounds in the browser. Current stable version is 1.6.0, released in April 2026 as part of the ember-repl monorepo. It uses es-module-shims and supports JavaScript, React, Vue, Svelte, Ember, Glimdown, and Mermaid out of the box. Key differentiators: on-demand async compilation (only pay for what you compile for), nested language support within Markdown, and a flexible plugin API for adding custom compilers/renderers. Unlike alternatives like CodeSandbox or RunKit, repl-sdk is designed for embedding in web apps with minimal overhead and full control over the compilation pipeline.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install repl-sdk"],"cli":null},"imports":["import { createReplSdk } from 'repl-sdk'","import { buildCompiler } from 'repl-sdk'","import { markdownCompiler } from 'repl-sdk'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { createReplSdk } from 'repl-sdk';\n\nasync function main() {\n  const sdk = await createReplSdk();\n  const output = await sdk.compile({\n    code: `console.log('Hello, REPL!')`,\n    language: 'javascript',\n  });\n  console.log(output.code);\n}\n\nmain();","lang":"typescript","description":"Creates a REPL SDK instance, compiles a simple JavaScript expression, and logs the resulting code.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}