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 is free and open source software distributed under the BSD License.
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.
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
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.
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.
Go to the project directory and execute the following command:
npm run jsdoc
Use the build.json
file to set the version and Google Analytics profile.