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
{{ message }}
Repository navigation
Commit 389d499
Browse filesBrowse the repository at this point in the historyBrowse files
At the heart of this module is the [HAR Request object](http://www.softwareishard.com/blog/har-12-spec/#request) as the http request description format, please review some of the sample JSON HAR Request objects in [test fixtures](/test/fixtures), or read the [HAR Docs](http://www.softwareishard.com/blog/har-12-spec/#request) for more details.
152
+
At the heart of this module is the [HAR Request object](http://www.softwareishard.com/blog/har-12-spec/#request) as the http request description format, please review some of the sample JSON HAR Request objects in [test fixtures](/test/fixtures/requests), or read the [HAR Docs](http://www.softwareishard.com/blog/har-12-spec/#request) for more details.
155
153
156
154
### Output Targets
157
155
158
-
output [targets](/src/targets) are simple modules that expose a constructor *(which handles the transformation)* and a utility`info`method
156
+
output [targets](/src/targets) are simple modules that expose a constructor *(which handles the transformation)* and a meta`info`property.
159
157
160
158
```js
161
159
module.exports=function (opts) {
@@ -166,14 +164,12 @@ module.exports = function (opts) {
166
164
// return processed output as string
167
165
};
168
166
169
-
module.exports.info=function () {
170
-
// return target info
171
-
return {
172
-
key:'native', // target key
173
-
ext:'.js', // preferred extension
174
-
title:'', // target label
175
-
description:''// target description
176
-
};
167
+
module.exports.info= {
168
+
key:'curl',
169
+
title:'cURL',
170
+
link:'http://curl.haxx.se/',
171
+
description:'curl is a command line tool and library for transferring data with URL syntax',
0 commit comments