The installation instructions state to execute
npm i xapi-validation
but it should be
npm i @learninglocker/xapi-validation
There's also zero instructions, or even a snipper of sample code, on how to use the package standalone.
And when you search the main package documentation for "validation", it says there's nothing found.