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 packages


This will be a completely separate, new application. We will need to create a new root directory. We are going to purposefully create issues so that we can investigate them. We are going to introduce two Node packages, node-inspector and webkit-devtools-agent. Add these two packages to our new package.json file under devDependencies. We will build small example Express applications to test with. Here are the versions at the time of writing this:

  • node-inspector: 0.7.4

  • webkit-devtools-agent: 0.2.5

  • express: 4.5.1

Then, just run npm install. We may want to install node-inspector and webkit-devtools-agent globally by using the global flag with npm install. This will allow us to debug any Node.js application on our machine.