Skip to content
SCORM 1.2/2004 Wrapper for JavaScript/TypeScript
TypeScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src post-merge #1. bump 0.1.3 Feb 13, 2019
.gitignore first commit. release 0.1.0 🎉 Aug 10, 2017
LICENSE first commit. release 0.1.0 🎉 Aug 10, 2017
README.md update readme with `configure` call. closes #2 Feb 14, 2019
package.json post-merge #1. bump 0.1.3 Feb 13, 2019
tsconfig.json compile on prepublish. release 0.1.1 Aug 10, 2017
yarn.lock first commit. release 0.1.0 🎉 Aug 10, 2017

README.md

@gamestdio/scorm Donate on Patreon

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.

Why?

No SCORM wrapper had support for modern JavaScript/TypeScript.

Usage

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();

Testing

  1. Create a free account on SCORM Cloud
  2. Download and include one of the XML Schema Definition files into your package.
  3. Edit the imsmanifest.xml to meet your needs.
  4. Upload your e-learning course to SCORM Cloud.

References

License

MIT

You can’t perform that action at this time.