Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

JavaScript ecosystem interoperability

Components transpiled by Jco are ordinary ES modules, and components built with Jco can reuse a large part of the existing JavaScript ecosystem. This section covers the pieces that make that possible.

  • jco-std: the standard library that gives components access to WASI through familiar JavaScript APIs.
  • Node.js built-in compatibility: which node:* modules work inside a component, and how each one maps onto WASI.
  • Express: running an Express application as a component.