Skip to content
This repository has been archived by the owner on Mar 12, 2019. It is now read-only.

Commit

Permalink
simpler README's example
Browse files Browse the repository at this point in the history
  • Loading branch information
mvrilo committed Oct 31, 2010
1 parent 2601518 commit e0cf21a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Expand Up @@ -5,12 +5,13 @@ yet another sinatra-like microframework

**Example:**

var f = require('frank');
var f = require('frank'),
get = f.get, run = f.run;

f.get('/').write('ok').end();
f.get('/js').send('path/to/javascript.js').end();
get('/').write('ok').end();
get('/js').send('path/to/javascript.js').end();

f.run(8888);
run(8888);

more info soon...

Expand Down

0 comments on commit e0cf21a

Please sign in to comment.