Skip to content

Latest commit

 

History

History
 
 

runtime

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

@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