{"_id":"@artela-next/web3-core","_rev":"1-9b5870c91fb4e136ebba8583f05ff52f","name":"@artela-next/web3-core","dist-tags":{"latest":"1.9.23"},"versions":{"1.9.23":{"name":"@artela-next/web3-core","version":"1.9.23","license":"LGPL-3.0","_id":"@artela-next/web3-core@1.9.23","maintainers":[{"name":"jack-artela","email":"jack@artela.network"}],"homepage":"https://github.com/artela-network/web3.js/tree/1.x#readme","bugs":{"url":"https://github.com/artela-network/web3.js/issues"},"dist":{"shasum":"ef14d20baddc14de8e7de89a9b9a3c25b90278d0","tarball":"https://registry.npmjs.org/@artela-next/web3-core/-/web3-core-1.9.23.tgz","fileCount":11,"integrity":"sha512-1jtX1pQ/eh35Ced9FJELx8Lr6cm31duD271rgKA3DQZCYKhsmYAbzn1JhALz6XHoYrHeYLNzBmA2JP508uuQag==","signatures":[{"sig":"MEUCIQD7VVMOEpEUbSueTwS7kOmsMWi/ALkIOeMf4WTP7pX9OAIgSJt0vYT+713ay/5Gcv7PRzu9k9QX0qxB4XeygYl8sTk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24302},"main":"lib/index.js","types":"types/index.d.ts","engines":{"node":">=8.0.0"},"gitHead":"458fabceece06f348131a3a0bde19c90e06f0dd8","scripts":{"compile":"tsc -b tsconfig.json","dtslint":"dtslint --localTs ../../node_modules/typescript/lib types"},"_npmUser":{"name":"jack-artela","email":"jack@artela.network"},"repository":{"url":"git+https://github.com/artela-network/web3.js.git#1.x","type":"git"},"_npmVersion":"lerna/6.6.2/node@v14.21.3+arm64 (darwin)","description":"Web3 core tools for sub-packages. This is an internal package.","directories":{},"_nodeVersion":"14.21.3","dependencies":{"@types/node":"^12.12.6","@types/bn.js":"^5.1.1","bignumber.js":"^9.0.0","web3-core-helpers":"1.9.0","@artela-next/web3-utils":"1.9.23","web3-core-requestmanager":"1.9.0","@artela-next/web3-core-method":"1.9.23"},"_hasShrinkwrap":false,"devDependencies":{"dtslint":"^3.4.1","typescript":"4.1"},"_npmOperationalInternal":{"tmp":"tmp/web3-core_1.9.23_1724655825817_0.49312250253416257","host":"s3://npm-registry-packages"}}},"time":{"created":"2024-08-26T07:03:45.732Z","modified":"2024-09-11T04:17:10.431Z","1.9.23":"2024-08-26T07:03:45.944Z"},"bugs":{"url":"https://github.com/artela-network/web3.js/issues"},"license":"LGPL-3.0","homepage":"https://github.com/artela-network/web3.js/tree/1.x#readme","repository":{"url":"git+https://github.com/artela-network/web3.js.git#1.x","type":"git"},"description":"Web3 core tools for sub-packages. This is an internal package.","maintainers":[{"email":"eric@artela.network","name":"eric.artela"},{"email":"jack@artela.network","name":"jack-artela"}],"readme":"# web3-core\n\n[![NPM Package][npm-image]][npm-url]\n\nThis is a sub-package of [web3.js][repo].\n\nThe core package contains core functions for [web3.js][repo] packages.\n\nPlease read the [documentation][docs] for more.\n\n## Installation\n\nYou can install the package either using [NPM](https://www.npmjs.com/package/web3-core) or using [Yarn](https://yarnpkg.com/package/web3-core)\n\n### Using NPM\n\n```bash\nnpm install web3-core\n```\n\n### Using Yarn\n\n```bash\nyarn add web3-core\n```\n\n## Usage\n\n```js\nconst core = require('web3-core');\n\nconst CoolLib = function CoolLib() {\n    // sets _requestmanager and adds basic functions\n    core.packageInit(this, arguments);\n};\n\nCoolLib.providers;\nCoolLib.givenProvider;\nCoolLib.setProvider();\nCoolLib.BatchRequest();\nCoolLib.extend();\n...\n```\n\n## Types\n\nAll the TypeScript typings are placed in the `types` folder.\n\n[docs]: http://web3js.readthedocs.io/en/1.0/\n[repo]: https://github.com/ethereum/web3.js\n[npm-image]: https://img.shields.io/npm/v/web3-core.svg\n[npm-url]: https://npmjs.org/package/web3-core\n","readmeFilename":"README.md"}