{"author":"Richard Moore <me@ricmoo.com>","dependencies":{"@ethersproject/logger":"^5.2.0"},"description":"Bytes utility functions for ethers.","ethereum":"donations.ethers.eth","funding":[{"type":"individual","url":"https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2"},{"type":"individual","url":"https://www.buymeacoffee.com/ricmoo"}],"gitHead":"dad3829c2e54b1c002c83ce948dc172530f6846d","keywords":["Ethereum","ethers"],"license":"MIT","main":"./lib/index.js","module":"./lib.esm/index.js","name":"@ethersproject/bytes","publishConfig":{"access":"public"},"repository":{"directory":"packages/bytes","type":"git","url":"git://github.com/ethers-io/ethers.js.git"},"scripts":{"auto-build":"npm run build -- -w","build":"tsc -p ./tsconfig.json","test":"echo \"Error: no test specified\" && exit 1"},"sideEffects":false,"tarballHash":"0xf5c9822d7ad93e85a836d07774c105a2c8a70c1e6e111b1dcaf49d6e00bd375d","types":"./lib/index.d.ts","version":"5.2.0","_nodeVersion":"12.20.0","_npmVersion":"ethers-dist@0.0.1","_id":"@ethersproject/bytes@5.2.0","dist":{"integrity":"sha512-O1CRpvJDnRTB47vvW8vyqojUZxVookb4LJv/s06TotriU3Xje5WFvlvXJu1yTchtxTz9BbvJw0lFXKpyO6Dn7w==","shasum":"327917d5a1600f92fd2a9da4052fa6d974583132","tarball":"http://registry-npm.ywwl.com/@ethersproject/bytes/download/@ethersproject/bytes-5.2.0.tgz","fileCount":21,"unpackedSize":76953,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgptThCRA9TVsSAnZWagAAoNAP/RqBIQV2wLs//C3AmzP1\nH4teudTb2w/mdrxL4MveWbNsN0GZv5AjCjmCFI1XjodG151aTPC6Ahvmx1i6\nAr1YgG9qeEOl4vnodxBtnKAzttrrOpyE+KYGHC4G/eOX/KDT+TbW1VnWKFnZ\n/p3MF09Bv8O0bQrAhUdm4ige3AGbrSs0IaNegUCJZI0N1n/saPNObFwwxQXk\nd+Iz3MeUb9YH5Gcw9i+W1SLmTuYDjfkKbUq51uvGj7LLOqKDyXfQv5+DarOd\nQy+kHxCt55z5W8YvCimFMca4AXnbOfZWX+Gt108E6gSZin3TzkyXPGCPlXhU\nqybrvjS1nwdzbjHZY8EpXiSuU6lCcceTgisZNeIZtnj0k7t0UfwbupgHKDJK\nnS1upqq/B6MKAo2VedKGslSXCCA3C0IgG0SZ5E1dibgLE/Z1xHwvHXt1LyzZ\nYh9ifghG8WxTjUsaOcXPafhfHV5QOgb+xBwDgqmq7j8J+0/xwo6qRLpjidT4\njGnFTBv4twQ2alGP5LASkNBg2imkQ5pRmeuPTWDt2fco6AHOplpDZlQuviSb\nK63Gj6O4WuxlGM+HNT/FGHt3WweqVoQD4zvunomVGo8vuFkWdyKV+j8ZMM0W\nzm1LNsGJTmqvrt6fNvSQvtMRFF3hdTFR3p71MXzy6bMQ9NGY4R+VggohqDfK\nWqBo\r\n=oLkq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCoQHAcamdiXp7AqxRh8ydnazZMwzMG8AXb+b3/zxRBTAIhAJ7pJZ/QPM6fleDlPFhjveKkbyw8Rr4ZCFZ0a86NVjJZ"}],"size":11899,"noattachment":false,"key":"/@ethersproject/bytes/-/@ethersproject/bytes-5.2.0.tgz"},"_npmUser":{"name":"ricmoo","email":"me@ricmoo.com"},"directories":{},"maintainers":[{"name":"ricmoo","email":"me@ricmoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bytes_5.2.0_1621546208929_0.651910521380364"},"_hasShrinkwrap":false,"readme":"Byte Manipulation\n=================\n\nThis sub-module is part of the [ethers project](https://github.com/ethers-io/ethers.js).\n\nIt is responsible for manipulating binary data.\n\nFor more information, see the [documentation](https://docs.ethers.io/v5/api/utils/bytes/).\n\n\nImporting\n---------\n\nMost users will prefer to use the [umbrella package](https://www.npmjs.com/package/ethers),\nbut for those with more specific needs, individual components can be imported.\n\n```javascript\nconst {\n\n    isBytesLike,\n    isBytes,\n\n    arrayify,\n\n    concat,\n\n    stripZeros,\n    zeroPad,\n\n    isHexString,\n    hexlify,\n\n    hexDataLength,\n    hexDataSlice,\n    hexConcat,\n\n    hexValue,\n\n    hexStripZeros,\n    hexZeroPad,\n\n    splitSignature,\n    joinSignature,\n\n    // Types\n\n    Bytes,\n    BytesLike,\n\n    DataOptions,\n\n    Hexable,\n\n    SignatureLike,\n    Signature\n\n} = require(\"@ethersproject/bytes\");\n```\n\n\nLicense\n-------\n\nMIT License\n","publish_time":1621546209126,"_cnpm_publish_time":1621546209126,"dist-tags":{"beta":"6.0.0-beta.3","latest":"5.8.0"}}