node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

aws-pricing

aws-pricing

Small module which uses nodes http module to retrieve AWS pricing and parse it. data is downloaded from the AWS Pricing Site.

Usage

Get a list the on demand instance pricing.

var aws_pricing = require('aws-pricing')
 
awspricing.requestOnDemandPricing(function (err, data) {
   if (err){
    // badness 
   }
 
    // mess with data 
})

Available methods are:

  • requestOnDemandPricing
  • requestDataTransferPricing
  • requestElasticIpsPricing
  • requestElasticLoadBalancerPricing

All accept the standard callback(err, data) with data containing the JSON returned by the service parsed into an object.

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Release History

(Nothing yet)

License

Copyright (c) 2013 Mark Wolfe Licensed under the MIT license.