
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
har-validator-compiled
Advanced tools
When you want to use har-validator but don't want to introduce a dependency on ajv.
yarn add har-validator-compiled
npm i --save har-validator-compiled
import { validate } from "har-validator-compiled";
const valid = validate("har", har); // throws a HARError if not valid
Or a specific type of validation
import { validateHar, validateRequest, validateResponse } from "har-validator-compiled";
const validHar = validateHar(har); // throws a HARError if not valid
const validRequest = validateRequest(request); // throws a HARError if not valid
const validResponse = validateResponse(response); // throws a HARError if not valid
FAQs
Validate a HAR file using a compiled AJV schema validator
The npm package har-validator-compiled receives a total of 3,824 weekly downloads. As such, har-validator-compiled popularity was classified as popular.
We found that har-validator-compiled demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.