{"size": 423, "ext": "js", "max_stars_repo_path": "driver/driver.js", "max_stars_repo_name": "Cameron-Walden/caps-cloud", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "driver/driver.js", "max_issues_repo_name": "Cameron-Walden/caps-cloud", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "driver/driver.js", "max_forks_repo_name": "Cameron-Walden/caps-cloud", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 22.2631578947, "max_line_length": 77, "alphanum_fraction": 0.6761229314}
'use strict';
//consumer

const { Consumer } = require('sqs-consumer');

//needed for fifo queue
const { Producer } = require('sqs-producer');

//grab this from sqs url
const queueUrl = 'https://sqs.us-west-2.amazonaws.com/801625029834/packages';

const consumer = Consumer.create({
  queueUrl: queueUrl,
  handleMessage: async (message) => {
    console.log(message, '<--------THIS IS MESSAGE');
  }
});

consumer.start();