@gamestdio/scorm
A TypeScript port of the pipwerks wrapper, published once in 2019 and untouched since
The facts
- Licence
- MIT — OSI approved
- Pricing
- Open source Price source for @gamestdio/scorm, opens in a new tab
- Deployment
- Embedded in your own application
- Platforms
- Library · Web
- Source code
- github.com/gamestdio/scorm — opens in a new tab
Standards support
Every line says where the claim came from. We do not test conformance ourselves and we issue no badge of our own.
| Standard | Supported | Provenance | Checked | Note |
|---|---|---|---|---|
| SCORM 1.2 | Yes | editor-checked · 24 Aug 2026— source, opens in a new tab | The API finder walks parent and opener windows for `window.API` and sets the detected version to `1.2`; the data-model calls are passed through untyped, so `cmi.core.*` element names are the caller's responsibility. | |
| SCORM 2004 | Yes | editor-checked · 24 Aug 2026— source, opens in a new tab | Finds `window.API_1484_11` and prefers it over the 1.2 API when both are present. Nothing in the code distinguishes 2004 editions — the run-time signature is identical across them and sequencing is left to the LMS. | |
| xAPI | No | editor-checked · 24 Aug 2026 | — | |
| cmi5 | No | editor-checked · 24 Aug 2026 | — | |
| AICC | No | editor-checked · 24 Aug 2026 | — | |
| LTI | Not stated | — | — | — |
- Claimed
- — the vendor states it. We have not confirmed it.
- Checked
- — an editor confirmed it on the date shown.
- Verified
- — an official registry lists it, and we link to the entry.
Editor's notes
@gamestdio/scorm is a small SCORM 1.2 / 2004 run-time wrapper for JavaScript and TypeScript projects. It does one job: find the LMS API object in the frame chain, then expose initialize, get, set, commit and terminate as an importable module rather than a global. Its stated reason for existing, in 2017, was that no SCORM wrapper had a modern module build — a real gap at the time, when the alternative was a script tag and a global pipwerks object.
That gap has since closed. The repository's last commit is February 2019 and the last npm release, 0.1.3, is from the same month. It is not archived, but seven years without a change to a library this small means what it says: nothing will be fixed. It still gets around a thousand npm downloads a month, which is a fair sign that it works — the underlying pipwerks algorithm has been stable since 2008 and there is very little surface to rot.
Use it if you want a dependency-free ES module and are content to own any problems yourself. Do not reach for it if you need the SCORM 2004 data model checked for you, error-code handling beyond a debug log, or a maintainer to file an issue with — scorm-again covers that ground and is actively developed. As a compact, readable reference for how API discovery works, it remains a good file to open.
Alternatives to @gamestdio/scorm
Chosen by hand because they solve the same problem, not because they share a keyword.
Listed on scorm-tools.com
Maintainers and vendors are welcome to show the listing badge in a README or on a product page. It is free, it does not require a claim, and there is nothing to buy.
Get the embed code