Browse Source

updated readme

master
mortie 7 years ago
parent
commit
9e36eabdc9
2 changed files with 4 additions and 4 deletions
  1. 3
    3
      README.md
  2. 1
    1
      package.json

+ 3
- 3
README.md View File



Install: Install:


```
``` bash
npm install --save webframe npm install --save webframe
``` ```


Use: Use:


```
``` JavaScript
var webframe = require("webframe"); var webframe = require("webframe");
var app = new webframe.App(); var app = new webframe.App();
``` ```
* `res403`: The string to return for a 403 error. "{{pathname}}" will be * `res403`: The string to return for a 403 error. "{{pathname}}" will be
replaced with the pathname. replaced with the pathname.


```
``` JavaScript
var app = new webframe.App({ client_utils: true }); var app = new webframe.App({ client_utils: true });
``` ```



+ 1
- 1
package.json View File

{ {
"name": "webframe", "name": "webframe",
"version": "0.1.3",
"version": "0.1.4",
"description": "Web server.", "description": "Web server.",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {

Loading…
Cancel
Save