hastests

Interface to the HasTests ConceptScript data generation API

npm install hastests
2 downloads in the last month

HasTests node.js library

Usage

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 
  });
});

Documentation

The ConceptScript language documentation

npm loves you