0.5.0 • Published 9 months ago

har-to-curl v0.5.0

Weekly downloads
11
License
MIT
Repository
github
Last release
9 months ago

HAR to cURL

Written in JavaScript. CommonJS format. Inspired by a Python implementation.

:speech_balloon: Try the web interface.

Install

Use npm:

npm install har-to-curl

Example

var harToCurl = require('har-to-curl');

var myHarString = '{"startedDateTime": "2013-02-21T16:23:17.806Z", "time": 577, "request": { "method": "GET", "url": "http://...';
var myCurlCommand;

// Passing in an object:
var myHarObject = JSON.parse(myHarString);
myCurlCommand = harToCurl(myHarObject);

// Passing in a string - will be JSON.parsed automatically:
myCurlCommand = harToCurl(myHarString);

License

Copyright © 2012 Matthew Caruana Galizia, licensed under an MIT license.

0.5.0

9 months ago

0.4.1

11 years ago

0.4.0

11 years ago

0.3.0

11 years ago

0.2.0

11 years ago

0.1.4

11 years ago

0.1.3

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

12 years ago