{"name":"web3-errors","version":"1.0.2-dev.d12dc7e.0","author":{"name":"ChainSafe Systems"},"license":"LGPL-3.0","_id":"web3-errors@1.0.2-dev.d12dc7e.0","maintainers":[{"name":"mpetrunic","email":"marin.petrunic@gmail.com"},{"name":"jdevcs","email":"junaid@chainsafe.io"},{"name":"gregthegreek","email":"gregorymarkou@gmail.com"},{"name":"spacesailor","email":"signup@wyatt.email"}],"homepage":"https://github.com/ChainSafe/web3.js#readme","bugs":{"url":"https://github.com/ChainSafe/web3.js/issues"},"dist":{"shasum":"d4b5e5d6cfee61ae3a763fc58202e43013e88525","tarball":"http://registry-npm.ywwl.com/web3-errors/download/web3-errors-1.0.2-dev.d12dc7e.0.tgz","fileCount":125,"integrity":"sha512-0Iwkv7gKF6PQBJJoqs/EPdEie5Pc81kHSnF3ht16AU8JPBbBcQT8q2tiCjIR4Iyf9i3NyxG5/m3pLl5Xp4/wOQ==","signatures":[{"sig":"MEUCICnpQbMXumfvsEdsBs+5mdr9AxTmH521/j4cTgUA759AAiEA8uQRsMcxT+KVxLym0hKOiCxTHzu5Tmfl3/hWdm8bVT4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":351870,"size":48217,"noattachment":false,"key":"/web3-errors/-/web3-errors-1.0.2-dev.d12dc7e.0.tgz"},"main":"./lib/commonjs/index.js","types":"./lib/commonjs/index.d.ts","module":"./lib/esm/index.js","readme":"<p align=\"center\">\n  <img src=\"assets/logo/web3js.jpg\" width=\"500\" alt=\"web3.js\" />\n</p>\n\n# web3.js - Web3-Errors\n\n![ES Version](https://img.shields.io/badge/ES-2020-yellow)\n![Node Version](https://img.shields.io/badge/node-14.x-green)\n[![NPM Package][npm-image]][npm-url]\n[![Downloads][downloads-image]][npm-url]\n\nThis is a sub-package of [web3.js][repo].\n\n`web3-errors` This package has web3 error classes.\n\n## Installation\n\nYou can install the package either using [NPM](https://www.npmjs.com/package/web3-errors) or using [Yarn](https://yarnpkg.com/package/web3-errors)\n\n### Using NPM\n\n```bash\nnpm install web3-errors\n```\n\n### Using Yarn\n\n```bash\nyarn add web3-errors\n```\n\n## Getting Started\n\n-   :writing_hand: If you have questions [submit an issue](https://github.com/ChainSafe/web3.js/issues/new) or join us on [Discord](https://discord.gg/yjyvFRP)\n    ![Discord](https://img.shields.io/discord/593655374469660673.svg?label=Discord&logo=discord)\n\n## Prerequisites\n\n-   :gear: [NodeJS](https://nodejs.org/) (LTS/Fermium)\n-   :toolbox: [Yarn](https://yarnpkg.com/)/[Lerna](https://lerna.js.org/)\n\n## Package.json Scripts\n\n| Script           | Description                                        |\n| ---------------- | -------------------------------------------------- |\n| clean            | Uses `rimraf` to remove `dist/`                    |\n| build            | Uses `tsc` to build package and dependent packages |\n| lint             | Uses `eslint` to lint package                      |\n| lint:fix         | Uses `eslint` to check and fix any warnings        |\n| format           | Uses `prettier` to format the code                 |\n| test             | Uses `jest` to run unit tests                      |\n| test:integration | Uses `jest` to run tests under `/test/integration` |\n| test:unit        | Uses `jest` to run tests under `/test/unit`        |\n\n[docs]: https://docs.web3js.org/\n[repo]: https://github.com/web3/web3.js/tree/4.x/packages/web3-errors\n[npm-image]: https://img.shields.io/github/package-json/v/web3/web3.js/4.x?filename=packages%2Fweb3-errors%2Fpackage.json\n[npm-url]: https://npmjs.org/package/web3-errors\n[downloads-image]: https://img.shields.io/npm/dm/web3-errors?label=npm%20downloads\n","engines":{"npm":">=6.12.0","node":">=14"},"exports":{".":{"types":"./lib/types/index.d.ts","import":"./lib/esm/index.js","require":"./lib/commonjs/index.js"}},"gitHead":"d12dc7e3c7d5ed56c38a5a300e769a9c205f3ddc","scripts":{"lint":"eslint --ext .js,.ts .","test":"jest --config=./test/unit/jest.config.js","build":"yarn build:cjs & yarn build:esm & yarn build:types","clean":"rimraf dist && rimraf lib","format":"prettier --write '**/*'","test:ci":"jest --coverage=true --coverage-reporters=json --verbose","lint:fix":"eslint --fix --ext .js,.ts .","prebuild":"yarn clean","build:cjs":"tsc --build tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > ./lib/commonjs/package.json","build:esm":"tsc --build tsconfig.esm.json && echo '{\"type\": \"module\"}' > ./lib/esm/package.json","test:unit":"jest --config=./test/unit/jest.config.js","test:watch":"npm test -- --watch","build:check":"node -e \"require('./lib')\"","build:types":"tsc --build tsconfig.types.json","test:integration":"jest --config=./test/integration/jest.config.js --passWithNoTests","test:coverage:unit":"jest --config=./test/unit/jest.config.js --coverage=true --coverage-reporters=text"},"_npmUser":{"name":"mpetrunic","email":"marin.petrunic@gmail.com"},"repository":{"url":"git+https://github.com/ChainSafe/web3.js.git","type":"git"},"_npmVersion":"lerna/6.6.2/node@v16.20.0+x64 (linux)","description":"This package has web3 error classes","directories":{},"_nodeVersion":"16.20.0","dependencies":{"web3-types":"1.0.2-dev.d12dc7e.0+d12dc7e"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.3","eslint":"^8.20.0","ts-jest":"^28.0.7","prettier":"^2.7.1","typescript":"^4.7.4","@types/jest":"^28.1.6","jest-extended":"^3.0.1","eslint-plugin-import":"^2.26.0","eslint-config-prettier":"^8.5.0","eslint-config-web3-base":"0.1.0","@typescript-eslint/parser":"^5.30.7","@typescript-eslint/eslint-plugin":"^5.30.7"},"_npmOperationalInternal":{"tmp":"tmp/web3-errors_1.0.2-dev.d12dc7e.0_1687893399264_0.2619017941218049","host":"s3://npm-registry-packages"},"publish_time":1687893399508,"_cnpm_publish_time":1687893399508,"dist-tags":{"dev":"1.3.2-dev.bf16917.0","latest":"1.3.1","rc":"1.1.0-rc.0"}}