Validation library for the xAPI.

Downloads in past


9122.1.46 years ago7 years agoMinified + gzip package size for xapi-validation in KB


NPM Package Version Build Status Greenkeeper badge semantic-release Join the chat at https://gitter.im/LearningLocker/learninglocker
This is Learning Locker's package for validating xAPI Statements. The package aims to return all of the problems with an xAPI statement in one function call. Since this package is part of Learning Locker, it has been conformance tested. You can try this package out on RunKit.
Learning Locker is a trademark of HT2 Inc.


To install all of Learning Locker, see the installation documentation
. To install just the xAPI validation package, you can follow the instructions below.
npm i xapi-validation


  1. Download the code by either:
- Cloning the repository (authorised collaborators only) `git clone git@github.com:LearningLocker/xapi-validation.git`.
- [Forking the repository](https://help.github.com/articles/fork-a-repo/) and cloning the fork.
  1. Change to the directory of the cloned code cd xapi-validation.
  2. Install dependencies npm install.
  3. Make your changes to the "src" directory.
  4. Build the code npm run build.
  5. Test the code npm test.
  6. Commit and push your changes npm run acp.
  7. Create a pull request.