Skip to content
:cloud: AWS CloudFront lib for Node.js
JavaScript
Find file
Latest commit 65a3c79 Mar 17, 2014 @tellnes Merge pull request #6 from gdi2290/patch-1
update copyright year to range

Readme.md

Amazon CloudFront client for Node.js

Implements all the functionality in CloudFront version 2012-05-05. In addition, is there a getPrivateUrl method to create signed urls.

Please take a look at the examples folder.

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

Something went wrong with that request. Please try again.