{"library":"web3-validator","type":"library","category":null,"description":"JSON-Schema compatible validator used internally by web3.js v4 for validating addresses, bytes, numbers, and other Ethereum data types. Current version 2.0.6 (stable), part of the web3.js v4 monorepo with a release cadence aligned to web3.js releases. It wraps ajv and adds Ethereum-specific validators. Key differentiator: integrates directly with web3.js 4.x for automatic input validation, but can be used standalone. Compared to @ethersproject/address or @ethereumjs/util, it provides a full JSON Schema validator with custom keywords (e.g., 'bytes', 'address') and supports Ethereum ABI types.","language":"javascript","status":"active","version":"2.0.6","tags":["javascript","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install web3-validator","imports":["import { Web3Validator } from 'web3-validator'","import { isAddress } from 'web3-validator'","import { validate } from 'web3-validator'"]},{"cmd":"yarn add web3-validator","imports":[]},{"cmd":"pnpm add web3-validator","imports":[]}],"homepage":"https://github.com/ChainSafe/web3.js#readme","github":"https://github.com/ChainSafe/web3.js","docs":null,"changelog":null,"pypi":null,"npm":"web3-validator","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}