@learninglocker/xapi-validation
v4.0.0
Published
Validation library for the xAPI.
Downloads
2,286
Keywords
Readme
xapi-validation
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.
Installation
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
Development
- Download the code by either:
- Cloning the repository (authorised collaborators only)
git clone [email protected]:LearningLocker/xapi-validation.git
. - Forking the repository and cloning the fork.
- Cloning the repository (authorised collaborators only)
- Change to the directory of the cloned code
cd xapi-validation
. - Install dependencies
npm install
. - Make your changes to the "src" directory.
- Build the code
npm run build
. - Test the code
npm test
. - Commit and push your changes
npm run acp
. - Create a pull request.