{"bugs":{"url":"https://github.com/0xProject/0x-monorepo/issues"},"dist":{"shasum":"ffa70f05736a74ac8d7ca5debe01bff7e6d8f073","tarball":"https://registry.npmjs.org/@0x/utils/-/utils-4.6.0-beta.2.tgz","fileCount":197,"integrity":"sha512-HjewJF4Ibsizh6oWZZxdVxeNc9mGgjdwTCVp/Xj2k9GN6GI8m8EKiowk4Db86wG0/B6y0PDK+985rZ3dtc3MLQ==","signatures":[{"sig":"MEUCIQCd33DIpnBk3+Ex8/oXnF3fAnxgXV4oAhWGVPwX9z4ApgIgMAzF6GgA2tUlXPSLoHAO97dUgTn88v4h8FOdXQPHeVQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":401190,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0dHcCRA9TVsSAnZWagAAxCQP/RdPFHw89j/RfecH0GHD\nuIe9n9HpRpHuCos+/6dz5bmex7ZJkypTsCunulXz5L/txJ0DsVUQAjYUDPDI\nykZCIgKNrZg6Tgb43ogjPkQrT6eC3/iOirVyOcCGYi4rH7hBwHRY+7TmZD1U\n8N0+49CiRT6NuaT7EwCwabITlvaNDunrMkKJUQedxQhg01dMCJLyqUgzPXqL\nRC43cyn9oYN1Fb8Guyp4wEMRf/o6aOR8Z+nItpbdvxQ+jSTNuVtNPR/Zu465\nK3EAErPelKrZyO7Om9jrkKoehxYpadRRLgd3O9YItJj/vu6qQfdZHHjxAstB\nFOdRLmOun4uqKidWYz4SaIg6eBRTBZP8UM9RdYjo4ryd9YbrVUkTtQl/guo0\nuur5OwAvXsdcVTDCsdoZEJ732KBmAprSbSoAs+Jz19JqO/GjylpIL+e/JYl1\nn/zwhf9UOZQI6l0T0vekbI+sRaa7vrWPsCp6lh5vt/G3P+h3M1Z0zpZ5Rfaa\nz8iVqYEBeLCG3WsZUxYmtoGBUUWfqqFVq/6UGqhZYhSaqPSA8CMi8G3AtNyG\n7xVyyQrM2QKd57m6aedJC8v3WgdrvEO3ZroQSxXuXnok7bkjAQEOvcqAcT35\niqPfbYmqPefqbMOUqYKlIFGVAHJ5IqBk8qUhYbFcOo9lGPiWM1Hw6juH4v5w\nlled\r\n=fXgX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/src/index.js","name":"@0x/utils","types":"lib/src/index.d.ts","readme":"## @0x/utils\n\nUtils to be shared across 0x projects and packages\n\n## Installation\n\n```bash\nyarn add @0x/utils\n```\n\nIf your project is in [TypeScript](https://www.typescriptlang.org/), add the following to your `tsconfig.json`:\n\n```json\n\"compilerOptions\": {\n    \"typeRoots\": [\"node_modules/@0x/typescript-typings/types\", \"node_modules/@types\"],\n}\n```\n\n## Usage\n\n```javascript\nimport { addressUtils, bigNumberConfigs, classUtils, intervalUtils, promisify } from '@0x/utils';\n```\n\n## Troubleshooting\n\nIf you are still seeing TS type errors complaining about missing DOM types such as `Response`:\n\n```\nerror TS2304: Cannot find name 'Response'.\n```\n\nThen you need to explicitly add the `dom` lib to your compiler options in `tsconfig.json`. The `dom` library is included by default, but customizing the `lib` option can cause it to be dropped.\n\n```\n\"compilerOptions\": {\n    \"lib\": [..., \"dom\"],\n```\n\n## Contributing\n\nWe welcome improvements and fixes from the wider community! To report bugs within this package, please create an issue in this repository.\n\nPlease read our [contribution guidelines](../../CONTRIBUTING.md) before getting started.\n\n### Install dependencies\n\nIf you don't have yarn workspaces enabled (Yarn < v1.0) - enable them:\n\n```bash\nyarn config set workspaces-experimental true\n```\n\nThen install dependencies\n\n```bash\nyarn install\n```\n\n### Build\n\nTo build this package and all other monorepo packages that it depends on, run the following from the monorepo root directory:\n\n```bash\nPKG=@0x/utils yarn build\n```\n\nOr continuously rebuild on change:\n\n```bash\nPKG=@0x/utils yarn watch\n```\n\n### Clean\n\n```bash\nyarn clean\n```\n\n### Lint\n\n```bash\nyarn lint\n```\n","engines":{"node":">=6.12"},"gitHead":"9e9e0d6592f089a372c1285c8f34217fb7b0d4c6","license":"Apache-2.0","scripts":{"fix":"tslint --fix --format stylish --project .","lint":"tslint --format stylish --project .","test":"yarn run_mocha","build":"tsc -b","clean":"shx rm -rf lib","build:ci":"yarn build","run_mocha":"mocha --require source-map-support/register --require make-promises-safe 'lib/test/**/*_test.js' 'lib/test/*_test.js'  --bail --exit","test:circleci":"yarn test:coverage","test:coverage":"nyc npm run test --all && yarn coverage:report:lcov","coverage:report:lcov":"nyc report --reporter=text-lcov > coverage/lcov.info"},"_npmUser":{"name":"xianny","email":"xianny@gmail.com"},"homepage":"https://github.com/0xProject/0x-monorepo/packages/utils/README.md","repository":{"url":"git+https://github.com/0xProject/0x-monorepo.git","type":"git"},"_npmVersion":"lerna/3.16.10/node@v8.16.0+x64 (darwin)","description":"0x TS utils","directories":{},"maintainers":[{"name":"albrow","email":"stephenalexbrowne@gmail.com"},{"name":"bchillman","email":"brandon.millman@gmail.com"},{"name":"dave4506","email":"dvsuner@gmail.com"},{"name":"dekz","email":"jacob@dekz.net"},{"name":"fberger","email":"me@fabioberger.com"},{"name":"xianny","email":"xianny@gmail.com"}],"_nodeVersion":"8.16.0","dependencies":{"chalk":"^2.3.0","ethers":"~4.0.4","lodash":"^4.17.11","js-sha3":"^0.7.0","@0x/types":"^2.5.0-beta.2","@types/node":"*","detect-node":"2.0.3","bignumber.js":"~9.0.0","ethereum-types":"^2.2.0-beta.2","ethereumjs-util":"^5.1.1","isomorphic-fetch":"2.2.1","@0x/typescript-typings":"^4.4.0-beta.2","abortcontroller-polyfill":"^1.1.9"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"shx":"^0.2.2","chai":"^4.0.1","mocha":"^6.2.0","tslint":"5.11.0","dirty-chai":"^2.0.1","typescript":"3.0.1","npm-run-all":"^4.1.2","@types/mocha":"^5.2.7","@types/lodash":"4.14.104","chai-bignumber":"^3.0.0","chai-as-promised":"^7.1.0","@0x/tslint-config":"^3.1.0-beta.2","@types/detect-node":"2.0.0","make-promises-safe":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/utils_4.6.0-beta.2_1574031835745_0.7059006828224381","host":"s3://npm-registry-packages"},"_id":"@0x/utils@4.6.0-beta.2","version":"4.6.0-beta.2"}