har

HAR (HTTP Archive) parser har http-archive http-archive-format json parser
1.2.0 Latest release released

har CI Releases License

HAR parser for version 1.2

Installation

Add this to your application's shard.yml:

dependencies:
  har:
    github: NeuraLegion/har

Usage

json = HAR.from_file(file)
# or from string using HAR.from_string(String)
pp json
json.version
# => 1.2
json.entries
# etc..

Development

Pretty much done. If there is a needed feature please open an issue.

Testing

To run specs with debugging output you will have to set the LOG_LEVEL to debug.

LOG_LEVEL=debug crystal spec

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • bararchy Bar Hofesh - creator, maintainer
  • Sija Sijawusz Pur Rahnama - contributor, maintainer
har:
  github: NeuraLegion/har
  version: ~> 1.2.0
License MIT
Crystal >= 0.36

Authors

Dependencies 0

Development Dependencies 1

  • ameba ~> 1.0.0
    {'github' => 'crystal-ameba/ameba', 'version' => '~> 1.0.0'}

Dependents 0

Last synced .
search fire star recently