hastests

Interface to the HasTests ConceptScript data generation API

HasTests node.js library

ht = require('hastests');
ht.run('{email: email(domain='test.com')}.vector(10)', function(err, ret) {
  if (err) {
    console.log(err);
    return;
  }
  ret.data.forEach(function(email) {
    // use the randomly generated email 
  });
});

The ConceptScript language documentation