Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 508 Bytes

Readme.md

File metadata and controls

25 lines (15 loc) · 508 Bytes

Amazon CloudFront client for Node.js

How to Install

npm install cloudfront

How to use

var cloudfront = require('cloudfront');

var cf = cloudfront.createClient('access key id', 'access key secret');

cf.listDistributions(function(err, list, info) {
  console.log('Is truncated?', info.isTruncated ? 'yes' : 'no');
  console.log(list);
});

Please take a look at the examples in the example folder.

License

MIT