🌐 English · Español · Français · Português · Deutsch · Polski
Monorepo for @studiolxd/scorm — a headless SCORM 1.2 / 2004 runtime with a framework-agnostic core and adapters for React, Vue, Angular, Svelte, Web Components, and plain vanilla JS — plus an interactive demo app.
Formerly
@studiolxd/react-scorm. The React API now lives at the@studiolxd/scorm/reactsubpath.
| Package | Description | Docs |
|---|---|---|
@studiolxd/scorm |
Headless SCORM 1.2 / 2004 runtime — agnostic core + framework adapters | README |
example |
Interactive demo app — showcases every library feature | README |
npm install # install all workspaces from the root
npm run dev:lib # build the library in watch mode
npm run dev:example # start the example dev server (http://localhost:5173)Additional scripts available from the root:
npm run build— builds the librarynpm run test— runs the library test suite
The library is a single package with subpath exports — import only what you use:
| Import | For |
|---|---|
@studiolxd/scorm |
Framework-agnostic core + vanilla (createScormSession) |
@studiolxd/scorm/react |
React (ScormProvider, useScorm, …) |
@studiolxd/scorm/vue |
Vue 3.3+ (useScorm) |
@studiolxd/scorm/angular |
Angular 17+ (provideScorm, SCORM) |
@studiolxd/scorm/svelte |
Svelte 4+ (createScormStore) |
@studiolxd/scorm/wc |
<scorm-session> Web Component |
window.Scorm (CDN <script>) |
Plain HTML, no bundler |
react-scorm/
├── package.json # npm workspaces root (private)
├── packages/
│ └── scorm/ # @studiolxd/scorm — published to npm
│ └── README.md # full library documentation
├── example/ # interactive demo (not published)
│ └── README.md # demo documentation
├── skills/ # AI agent skills (Claude Code, Cursor, …)
├── tests/angular-smoke/ # Angular AOT smoke test fixture
└── docs/ # design & planning docs
Only packages/scorm is published to npm. The example workspace and the root are private. To publish:
cd packages/scorm
npm publishMIT