You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently requires express and connect to run, because it uses `res.on('header', f)` to trigger storing of data, which is a connect thing.
45
+
```javascript
46
+
doctype html
47
+
html
48
+
head
49
+
title MiniProfiler Node.js Example
50
+
body
51
+
h1 Home Page
52
+
|!{miniprofiler.include()}
53
+
```
13
54
14
-
# usage
55
+
When visiting `localhost:8080`, you should see this.
15
56
16
-
Clone this repo into your project's node_modules directory. You can also install from npm, but the package may be outdated: https://www.npmjs.org/package/miniprofiler.
57
+

17
58
18
-
Then see [examples/express/server.js](/examples/express/server.js) for example use.
59
+
See [examples/express.js](/examples/express.js) for more examples.
19
60
20
-

21
-

61
+

62
+

22
63
23
64
# Want to help?
24
65
@@ -29,6 +70,3 @@ Things to do:
29
70
- storing of client timings on first result postback (there's a todo in the `results` function about where to do this)
30
71
- document more things
31
72
- add providers for pg, mongodb, mysql, redis and more
0 commit comments