Basic Auth Middleware for Express
The source is available for download from GitHub. Alternatively, you can install using Node Package Manager (npm):
npm install node-basicauth
app = expressbasicAuth = require 'node-basicauth'// you can add as many usernames and passwords as you wantappusebasicAuth'username1' : 'password1''username2' : 'password2'
This command needs to be ran first if CoffeeScript is not installed on your system
sudo npm install -g coffee-script
Install all of the dependencies
The following command will watch and compile Coffeescript