@tutorialkit/runtime
TypeScript icon, indicating that this package has built-in type declarations

0.2.3 • Public • Published

@tutorialkit/runtime

A wrapper around the WebContainer API focused on providing the right abstractions to let you focus on building highly interactive tutorials.

The runtime exposes the following:

  • lessonFilesFetcher: A singleton that lets you fetch the contents of the lesson files
  • TutorialRunner: The API to manage your tutorial content in WebContainer

Only a single instance of TutorialRunner should be created in your application and its lifetime is bound by the lifetime of the WebContainer instance.

License

MIT

Copyright (c) 2024–present StackBlitz

Readme

Keywords

none

Package Sidebar

Install

npm i @tutorialkit/runtime

Weekly Downloads

248

Version

0.2.3

License

MIT

Unpacked Size

81 kB

Total Files

43

Last publish

Collaborators

  • apai4
  • stackblitz-devops
  • d3lm
  • nemikolh
  • ericmsimons