Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
RunKit + npm: xapi-validation
node v6.17.1
endpoint
share
tweet
const validateStatement = require("xapi-validation").default; const warnings = validateStatement({ actor: { mbox: 'mailto:test@example.com', }, verb: { id: 'http://www.example.com/verb', }, object: { id: 'http', } }); console.log(warnings);
Created from: https://runkit.com/npm/xapi-validation
Loading…
no comments
sign in
to comment