chrome-http2-log-parser
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "chrome-http2-log-parser", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Parse Chrome's http/2 net-internals logs", | ||
"main": "index.js", | ||
"engines": { | ||
"node": ">=4.2" | ||
}, | ||
"scripts": { | ||
@@ -7,0 +10,0 @@ "test": "echo \"Error: no test specified\" && exit 1" |
@@ -14,4 +14,5 @@ # chrome-http2-log-parser | ||
Given a file `session.txt` that is a sibling of the file that contains | ||
the following code: | ||
Given a file `session.txt` that contains the output of the Chrome | ||
HTTP/2 net-internals log, and given that it is a sibling of the file | ||
`report.js` that contains the following code: | ||
@@ -44,9 +45,11 @@ ```js | ||
// the output of the text reporter | ||
console.log(data.reporters.text); | ||
console.log(data.reports.text); | ||
// the output of the textCompact reporter | ||
console.log(data.reporters.textCompact); | ||
console.log(data.reports.textCompact); | ||
}); | ||
``` | ||
Run `node report` to see the data parsed from the log. | ||
## Reporters | ||
@@ -53,0 +56,0 @@ |
100107
10
197
127