/harviewer

HAR Viewer is a web application that allows visualizing HTTP Archive logs (HARs)

Primary LanguageJavaScript

Stable URL (v2.0.17, 21 March 2016) - http://www.softwareishard.com/har/viewer/

Up-to-date master - http://gitgrimbo.github.io/harviewer/master/ (and https)

HAR Viewer

License

HAR Viewer is free and open source software distributed under the BSD License.

Components

Build Tools

Testing

Development

The HAR Viewer build process uses Node.js and npm as its build tools.

Firstly, run npm install from the command line to install the Node.js/npm dependencies.

Linting

HAR Viewer uses ESLint for linting. It will be installed when you run npm install from the project root.

To show lint errors only:

npm run eslint

To show lint errors and warnings:

npm run eslint-full

Running

To run HAR Viewer, run:

npm start

and browse to http://localhost:49001/webapp/.

npm start will start an express server that is setup to be able to serve the necessary resources for the functional tests. express is not necessary to serve HAR Viewer, any web server able to serve static files will do.

Build

Go to the project directory and execute the following command:

npm run clean-build

(Indicative build time - about 12 seconds. Node.js v10.2.1)

To run the built HAR Viewer, run

npm start

and browse to http://localhost:49001/webapp-build/ after a build.

JSDoc

Go to the project directory and execute the following command:

npm run jsdoc

Version and Google Analytics

Use the build.json file to set the version and Google Analytics profile.