Book Image

Building Scalable Apps with Redis and Node.js

By : Joshua Johanan
Book Image

Building Scalable Apps with Redis and Node.js

By: Joshua Johanan

Overview of this book

Table of Contents (17 chapters)
Building Scalable Apps with Redis and Node.js
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Node package versions


We are again adding to our current application, so all the previous Node packages are going to use the same version. We are also creating a couple of example applications that will use their own package.json. Each new example application will need npm install executed. We are only adding two packages here.

The first package is amqp. This package was not designed specifically for RabbitMQ, but it implements a protocol that RabbitMQ can understand. The other package is q, which gives us promises. Promises allow us to use asynchronous objects synchronously. The following are the new packages that we will be using in this chapter:

  • amqp: 0.2.0

  • q: 1.0.1

As always, add these two packages to your main application's package.json file and run npm install.