<commit_before>var AIO = require('../index');

// create an instance
aio = AIO(process.env.AIO_KEY || '<KEY>');

aio.send('Test Send', 'Test Value', function(err, success) {

  if(err) {
    return console.error(err);
  }

  console.log(success ? 'created stream!' : 'creation failed :(');

});<commit_msg>log test send example response to console<commit_after>var AIO = require('../index');

// create an instance
aio = AIO(process.env.AIO_KEY || '<KEY>');

aio.send('Test Send Stream', 'Test Value', function(err, data) {

  if(err) {
    return console.error(err);
  }

  console.log(data);

});
{'fraction_non_alphanumeric': 0.19230769230769232, 'fraction_numerical': 0.0, 'mean_word_length': 4.119658119658119, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1497552', 'n_tokens_mistral': 212, 'n_tokens_neox': 206, 'n_words': 49}