{"author":"Richard Moore <me@ricmoo.com>","dependencies":{"@ethersproject/logger":"^5.7.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":"ec1b9583039a14a0e0fa15d0a2a6082a2f41cf5b","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":"0x5ce4e7b7716e28697fe07abcee74e4e8b4fa3b919b2807322ad6a282990db523","types":"./lib/index.d.ts","version":"5.7.0","_nodeVersion":"18.7.0","_npmVersion":"ethers-dist@0.0.1","_id":"@ethersproject/bytes@5.7.0","dist":{"integrity":"sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A==","shasum":"a00f6ea8d7e7534d6d87f47188af1148d71f155d","tarball":"http://registry-npm.ywwl.com/@ethersproject/bytes/download/@ethersproject/bytes-5.7.0.tgz","fileCount":21,"unpackedSize":80915,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFN8QfGCVM1EGg0XP1IiuF4Cmk2pa92P3iDyrZQhHroiAiEA44SHEbhtOgcReYeHiuwkU4TXVAs0QMz4Xiojd5CYxa0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi//5PACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqCtBAAk2EXYWTHeoVKojAfJxobYWQCW0zmCyhsxkqc65vkIqvXFc38\r\nkf+BXqLM+UkZC1/b52Pa0uu/dmMtt62vFGbfNPq6s9b/6bmeIF3aT1MxCxrK\r\nRzyFCzRyiPjDuOq4g/cKitpgbE6VtkSH4Rb5ToCdTNNcMInnROijiOYqes4D\r\nXUlvdbpX/Qe/KvXtwfwNgvIivID4jM4iMR5NjKrqipA5tm8NiMHbdVbcrCTZ\r\nV8LkWCrvi5yMIgPF2llRIi0AwPd9Lh19+3Zxd6XF6kx0qLCKBPRMSP4uWX0C\r\nivzzFuzGstHvtROhIkztKF7n1WQNxSFfNdI8VGXMb3cuhQco0ZwlBiw9m4Nq\r\neBOpzMN4PmKt3tdgIbMPNGj/clKpUUUxk0nJZaicarH5L7/ttljJdZxRjPHl\r\n3oS3gN6uTbqtSG3+qr281Jr3eqIAZry5U+xnBWYdfwBFVuXG1oqUFUt1DeE8\r\nH2wIn0/97CuHFDMrMtK1IK9IgmymNijtr4nLOHw7VFef/O6kaZwouXG/1PsB\r\ndJFoUI5Wg6RLKjQyCZTa9pI/H0ZhHeJvpX/yp+WAGKypBvwhuuUu8GYreJYY\r\nW2+4aB60lmFd+aVRjQ/rR7zio+vzkBB+f7k5i3Z6y7Ln6m+hmTuWNK9c/kPE\r\n0vOeEjc00+G328lh+e/J3pnfs1QDsMM1rac=\r\n=rot2\r\n-----END PGP SIGNATURE-----\r\n","size":12379,"noattachment":false,"key":"/@ethersproject/bytes/-/@ethersproject/bytes-5.7.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.7.0_1660943950847_0.18817872843710926"},"_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":1660943951133,"_cnpm_publish_time":1660943951133,"dist-tags":{"beta":"6.0.0-beta.3","latest":"5.8.0"}}