FOSS4G 2011 Talk :: real-time async geo apps in nodejs
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is even with sabman:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

What is Nodejs?

What is CoffeeScript?

CoffeeScript is a language that compiles down to JavaScript. This means that code in .coffee files are not interpreted at run time, but are compiled beforehand into .js files.

CoffeeScript can be written for all implementations of JavaScript, whether it's for Node.js or the browser.

Watch this screen cast.

$ coffee -v



  • Use by npm (node package manager) to describe you application and allow automatic installation of dependencies needed to run you application.

  • Think of it as an application manifest for a node project.

  • It describes verions, name and dependencies.

  • The most important things in your package.json are the name and version fields. Those are actually required, and your package won't install without them.


  • Check the npm registry if you are creating a public project.

  • Non-url-safe characters will be rejected.

Minimal package.json:

    "name": "example_2", //
    "version": "0.0.0",
    "dependencies": {
      "" : "*"


  $ npm install ./node_modules/ 
  ├── policyfile@0.0.4
  ├── redis@0.6.6