« Back

# pipwerks-scorm-api-wrapper

At the time of writing this library Philip Hutchison's scorm-api-wrapper was not published on npm. We had used it quite a bit in flash e-learning modules and as we were transitioning to web technologies we wanted to keep using the same api.
The package uses Webpack to bundle up the SCORM wrapper in a CommonJS format.

## Code Samples

import {SCORM} from 'pipwerks-scorm-api-wrapper';

SCORM.init();
var name = SCORM.get('cmi.core.student_name');
SCORM.set('cmi.core.lesson_status', 'completed');
SCORM.save();
SCORM.quit();