Repository navigation
v0.4.0
New
SCORM activities (docs):
scorm(activityId): a SCORM as the person sees it: attempts allowed and made, grading method, the grade reported and each attempt's, and its SCOs with the person's status (not-attempted,incomplete,completed,passed,failed…) and score. Never starts an attempt. Alsomoodle scorm <id>.openScorm(activityId, { scoId?, newAttempt? }): opens Moodle's player on the working tab, continuing the last attempt or starting a new one, and resolves once the SCO has loaded; returns the attempt, the SCO, the SCORM version and the URL.createActivity({ type: "scorm", files: [package] })creates a SCORM from its package.ScormError, codescorm.
The driver never reports a SCORM's results for the person: they come only from doing it in the player.
Internal
npm publishruns typecheck, lint, the docs' examples and the tests in Docker first.