@tutorialkit/runtime
v0.2.3
Published
TutorialKit runtime
Downloads
1,759
Keywords
Readme
@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 filesTutorialRunner
: 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