opencred-verifier

Open Credentials Verifier JavaScript API

opencred-verifier

Open Credentials Verifier JavaScript API

npm install opencred-verifier
 
// verify a credential 
var verifier = require('opencred-verifier');
verifier.verifyCredential(credential).then(function(results) {
  console.log('results', results);
  console.log('verified', results.tests.verified);
});