Skip to content
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.

emka/nodejs-the-right-way

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Examples from the book Node.js the Right Way: Practical, Server-Side JavaScript That Scales by Jim R. Wilson

Notes

node-harmony

The shebang line #!/usr/bin/env node --harmony works on MacOS, but not on Ubuntu. As a workaround, you can use a wrapper script like node-harmony in this repository. Just place it in your path (e.g., /usr/local/bin/) and use the shebang line #!/usr/bin/env node-harmony.

Node.js 0.11

Chapter 6 is using functionality which was introduced in Node.js 0.11, available for Ubuntu as PPA:

sudo add-apt-repository ppa:chris-lea/node.js-devel
sudo apt-get update
sudo apt-get remove nodejs-legacy nodejs # conflicts with chris-lea package
sudo apt-get install nodejs

License

Copyright may apply.

About

code examples from "Node.js the Right Way"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published