Skip to content

scorm-local

A SCORM 1.2 API shim that keeps CMI data in localStorage while you build content

Stale · 129 mo Last commit Checked · 24 Aug 2026

The facts

Licence
MIT — OSI approved
Pricing
Open source
Deployment
Embedded in your own application
Platforms
Library · Web

Standards support

Every line says where the claim came from. We do not test conformance ourselves and we issue no badge of our own.

Standards support for scorm-local, with the source of each claim and the date it was last confirmed.
Standard Supported Provenance Checked Note
SCORM 1.2 Yes editor-checked · 24 Aug 2026— source, opens in a new tabReturns an API object carrying all eight SCORM 1.2 LMS methods. The README states plainly that it is "not compliant yet" — values are stored and returned without data-model validation, and error codes should not be relied upon.
SCORM 2004 No editor-checked · 24 Aug 2026
xAPI No editor-checked · 24 Aug 2026
cmi5 No editor-checked · 24 Aug 2026
AICC Not stated
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

scorm-local gives a SCO something to talk to when there is no LMS in the room. Call scormLocal(scoId, options) and you get an object exposing LMSInitialize, LMSFinish, LMSGetValue, LMSSetValue, LMSCommit and the three error methods, backed by localStorage. A persistFor option controls how long committed data survives, from never to forever, so you can test resume behaviour on a timer, and an initial model object lets you seed values the LMS would normally supply.

The use case is content development. While a course is being written, its author needs the tracking calls to succeed and needs to see what got written; a shim like this removes the round trip to an LMS entirely and makes the stored data inspectable in devtools.

It is not a test harness for acceptance. The README says "not compliant yet" in its second line, and that assessment still holds: nothing validates the data model, the error codes are not trustworthy, and there is no SCORM 2004. Anything you sign off against it, you have signed off against nothing.

Ten stars, two forks, one open issue, and the last commit was January 2016. A decade-old single-maintainer utility that still does its one small job because that job has not changed. Vendor it rather than depend on it.

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