diff --git a/README.md b/README.md index 18e48e4..c6b8463 100644 --- a/README.md +++ b/README.md @@ -52,4 +52,6 @@ $ ws --log-format default | logstalgia - ``` [![githalytics.com alpha](https://cruel-carlota.pagodabox.com/050b17b4263c08f12a2a9d9bbda80025 "githalytics.com")](http://githalytics.com/75lb/local-web-server) +[![NPM](https://nodei.co/npm-dl/local-web-server.png?months=1)](https://nodei.co/npm/local-web-server/) + [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/75lb/local-web-server/trend.png)](https://bitdeli.com/free "Bitdeli Badge") diff --git a/package.json b/package.json index 626aa29..1ca532e 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "author": "Lloyd Brookes", "license": "BSD", "dependencies": { - "connect": "~2.7.11", - "nature": "0.0.4" + "connect": "~2.11.0", + "nature": "~0.1.0" } } diff --git a/server.js b/server.js index c5feee7..e561b02 100755 --- a/server.js +++ b/server.js @@ -2,8 +2,6 @@ var connect = require('connect'), Thing = require("nature").Thing; -process.argv.splice(0, 2); - var usage = "usage: ws [--port|-p ] [--log-format|-p dev|default|short|tiny]"; var options = new Thing() .define({ name: "port", alias: "p", type: "number", defaultOption: true, default: 8000 })