SCORM 1.2/2004 Wrapper for JavaScript/TypeScript
Integrate your e-learning course with SCORM 1.2/2004 LMS.
This implementation is highly based on a battle tested version from pipwerks/scorm-api-wrapper.
No SCORM wrapper had support for modern JavaScript/TypeScript.
import { scorm } from "@gamestdio/scorm";
// set configuration options
scorm.configure({
debug: true
});
// initialize connection with parent/opener windows
scorm.initialize();
scorm.set('cmi.core.lesson_status', 'Not Attempted');
scorm.commit();
// finish e-learning session
scorm.terminate();
- Create a free account on SCORM Cloud
- Download and include one of the XML Schema Definition files into your package.
- Edit the
imsmanifest.xml
to meet your needs. - Upload your e-learning course to SCORM Cloud.
- SCORM 1.2 Run-Time Environment
- SCORM 2004 Guide for Programmers
- Wikipedia: Sharable_Content_Object_Reference_Model
MIT