Skip to content

LearningLocker/xapi-validation

Folders and files

NameName
Last commit message
Last commit date
Feb 17, 2023
Jan 18, 2018
Jan 23, 2017
Jan 4, 2017
Apr 22, 2022
Jun 2, 2021
Dec 9, 2021
Feb 17, 2023
Jul 18, 2022
Oct 25, 2017
Jan 9, 2018
Oct 27, 2017

Repository files navigation

xapi-validation

Build Status Renovate 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.

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

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