by using aws sdk for node.js
var params = { DryRun:
false || false, Owners:
['aws-marketplace']
//show images where Owner is aws-marketplace };
//EC2 Describe image to get market place images ec2.describeImages(params, function(err, data)
{ if (err) console.log(err, err.stack);
// an error occurred else console.log(data);
// successful response });