SCORM API Wrapper
!
Build
A modernized reimplementation of the SCORM API Wrapper inspired by
pipwerks/scorm-api-wrapper.
It works with the SCORM 1.2 and SCORM 2004 Runtime.
Requirements
- Nodejs 10+
- npm 6+
Build
1.
npm install
2.
npm run build
3. Build artifact can be found in the
dist/ folder.
Running test
1.
npm install
2.
npm test
Contributing
Contributions are welcomed.
Changelog
$3
- Replace karma/jasmine framework to babel/jest.
- Set all properties in wrapper to private.
$3
- Rename functions to be more readable.
- Fix log messages to reflect the new code.
- Fix Karma reporter to show test results.
- Type check test builds with base tsconfig.
- Modify functions to have only one return type to allow strict null check.
$3
- Copied every function from old code.
- Implemented the whole wrapper object as a single class with every property and function as public.
- Return types were taken from the old code.
- Class property names were changed a bit to reflect the nested structure of the old code.