{"_id":"ssz","_rev":"47-5593ba4bc1ebe788d988af6f3f317f6e","name":"ssz","dist-tags":{"latest":"1.5.3"},"versions":{"0.5.0":{"name":"ssz","version":"0.5.0","keywords":["\"ssz\"","\"simple","serialize\""],"author":{"name":"ChainSafe Systems and contributors"},"license":"MIT","_id":"ssz@0.5.0","maintainers":[{"name":"mikerah","email":"mikerahqc@protonmail.com"}],"homepage":"https://github.com/ChainSafeSystems/ssz-js#readme","bugs":{"url":"https://github.com/ChainSafeSystems/ssz-js/issues"},"dist":{"shasum":"ec0e5ea0235569c996d5661f0b4d89a6c51f5136","tarball":"https://registry.npmjs.org/ssz/-/ssz-0.5.0.tgz","fileCount":13,"integrity":"sha512-tmZQLKBllLbcbc4Avut4qizXn0ASMSqqGqZeGkpPOl2BlYuP8nNvl1WJQ6fvYfN+KlSeBQtQzx0FdQFs/rXQrA==","signatures":[{"sig":"MEUCIQDSeZaljRfQzQLxFi9/rN0i7Jg2smct668gZEuvZ8KTVAIgZ6INDobj9hV4qa3aqmZdCHvLCEZTUjX6TPdjkujeZ+s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29018,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbv+FnCRA9TVsSAnZWagAAtucP/jT9mjK5+FB6Slkk0VsB\nz/uPc4l6XWBrBVXQCCXQhwZBVMngP+yNg1X+9ec2uw9LBgJDhQH0FqVkeheQ\nRot6M6t3zed6wUky3MQz/l/b6eRC+YRDEHOC/NUEoMU3TjiNRRN8bMqnpPpW\nQbPt59mkwBI8zwtVW55rbqXyDUo60E/KiNPNfnz3mGg6XE5k7jZYx6W53NWz\nmaDdAiSsfxJdJt67fqB9svDQ1kdQvnmG825xSOhGq2sLr3OgVlxvsX1IBKdr\nntSj7Z4WlmwUXhF4/oLkOTXLZ7Qu5SNCeMZ+9mHqkkLASXnQrSzDrQD5CRSm\nD6LEIFM/7vW/Zw2ytIEOHRJClhEpjg0R4f2QV+WcaGz1GWPUY4rOHAK5uPXH\nhwNfwS8KKKe7IgGxpkGhx51GILPUbXF0CgRTvGJmfsqIV3qFCzmxxD0qU7CP\nswsZtXHqVAThicUyMx26opHSoiZ14NFZH3nh3IIkiPdo1v/OY8lfxmhBihVl\nHUulbp0i58M1W9Kdi8UCmkSui9c/J+OmobRacDiJpKgCUdVIBr4YQ194FGy7\nsBuHuN18gqpiLuNOe76t++FnUs/oX6/4fd7DM85sNjs6FMruGmsD5BQZhRri\nZC3Y7sUTryw5+oVe5sIzNMYmXMe0D/uJbjU16KXPz73QXgqgxS7UhhjdqNax\nlxsI\r\n=Zqxq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"92a36536b5e669d69fc75adb0ca310be46302a70","scripts":{"test":"mocha"},"_npmUser":{"name":"mikerah","email":"mikerahqc@protonmail.com"},"repository":{"url":"git+https://github.com/ChainSafeSystems/ssz-js.git","type":"git"},"_npmVersion":"6.2.0","description":"A pure JS implementation of simple serialize","directories":{},"_nodeVersion":"10.4.1","dependencies":{"deepcopy":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","moch":"0.0.1"},"_npmOperationalInternal":{"tmp":"tmp/ssz_0.5.0_1539301734849_0.907289051387421","host":"s3://npm-registry-packages"}},"1.5.0":{"name":"ssz","version":"1.5.0","keywords":["\"ssz\"","\"simple","serialize\""],"author":{"name":"ChainSafe Systems and contributors"},"license":"MIT","_id":"ssz@1.5.0","maintainers":[{"name":"mikerah","email":"mikerahqc@protonmail.com"}],"homepage":"https://github.com/ChainSafeSystems/ssz-js#readme","bugs":{"url":"https://github.com/ChainSafeSystems/ssz-js/issues"},"dist":{"shasum":"45499196d014d1d91e02690ce374b6cee192befa","tarball":"https://registry.npmjs.org/ssz/-/ssz-1.5.0.tgz","fileCount":14,"integrity":"sha512-Bh4EWvGLGPwO0ciae+LkpmiD07iBhJ6V36ghYKpmEPQBtjZLdD5yBwaroXwHz+I704TzTxgGeBx689tZqWzaCA==","signatures":[{"sig":"MEUCIELwcsHyHBQpCQjOlaBRV6JZ6XFt/iD9og3+Fpy9Ik5DAiEA6mpV7BTXIKX4TUstz5kzEHTE4zLxFNywPAjQw/U7cBU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60818,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbwtGLCRA9TVsSAnZWagAAkV0P/2In41sfdYuXYC0Q5Wk8\ns3TEYsIC53c+g176kUwx74ekN+01uJTdOLwJ6N1maOmkmhX1w/gvJqH1DhPL\nto7obi4087LscG8vD2qqfLSj+nDomkyytuNd33BYXOrDrAlsuhuZ2t2n0Ifr\nNY0amefH1NyMJpZ40DarTmrq8T52Jd08BtelKN4NsoHxcgQBBmhQUi0Atq/M\ngNHZZ/PU4k/1DfAJ+5lO6r1P4wT3YPGZT5Q+UrOjjF8CmynAaiPFgwD0kiaV\n19yzeulh+eNSwf0gt+OJ/rAxx5guaybDhRyrKqiADmqtzyHaVSXdjB4NeTnz\nPU/uoYKFlsskQ1VSJTzMw579holLUwRsyDnFB0s3JKxwS8hNSwfB6Aj0SxNL\n3M4dGTH2Mk9tjLKeZhLbEj+qwQoVmcj98HExMdAAd/QS2kwb2nZwZAT6hU3Y\nzkxZXf9wlqUH1Gp9N6VODd5BaNbi5HPJ02aYoBpQPP4aA1/qNlXjqBTZYDcC\nH1wHc8GwBSTY6GYOL1ortDqNvkUAGzUcBs/lNqRTpa2yySb40UjiP/y9Nd4b\nrxDIK5xN05E3co4dKj7Pnoxf2/M9NFk3VAgpXLPjKOItKwtn0VJqt0vxl447\nasd5V3gcyYSA1n7/Lj717/Kahdl4wnbCSAUhrs1BtnVGE1eeSIopN/fY/1TP\n6Fay\r\n=9UrY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"4058d4c86d8c7e1eadf00b723ad0f0f65a1ac65e","scripts":{"test":"mocha"},"_npmUser":{"name":"mikerah","email":"mikerahqc@protonmail.com"},"repository":{"url":"git+https://github.com/ChainSafeSystems/ssz-js.git","type":"git"},"_npmVersion":"6.2.0","description":"A pure JS implementation of simple serialize","directories":{},"_nodeVersion":"10.4.1","dependencies":{"bn.js":"^4.11.8","deepcopy":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","moch":"0.0.1"},"_npmOperationalInternal":{"tmp":"tmp/ssz_1.5.0_1539494282565_0.42356857763027467","host":"s3://npm-registry-packages"}},"1.5.1":{"name":"ssz","version":"1.5.1","keywords":["\"ssz\"","\"simple","serialize\""],"author":{"name":"ChainSafe Systems and contributors"},"license":"MIT","_id":"ssz@1.5.1","maintainers":[{"name":"mikerah","email":"mikerahqc@protonmail.com"}],"homepage":"https://github.com/ChainSafeSystems/ssz-js#readme","bugs":{"url":"https://github.com/ChainSafeSystems/ssz-js/issues"},"dist":{"shasum":"4c356bca4a7ceb658f7ece5b897cce329c24bea6","tarball":"https://registry.npmjs.org/ssz/-/ssz-1.5.1.tgz","fileCount":14,"integrity":"sha512-QqXNjdYAx4oAhtChom0jAHVRFYCgT5N6mEFRkhvKOhdicH5dduXxukqPDcLUSW9RcNx6vLiCJ+nAZQ+YbtZdVA==","signatures":[{"sig":"MEUCIGJqXj75GnXsMCL6+fKW6A7M9uAQnh1c9yi1YoPnZe/JAiEA2vxvY3c18MpOqT4JfJeT9oIVwd6Rq8UK181EyYd7uMI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63969,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxR9XCRA9TVsSAnZWagAA15EP/3k6gH4gYDvKMBmiamK5\nei2zS46hLTkTVQZMs9jsTpOLWVmzIFWs5ijzfilHn1++P1EEp9LbYbaIjqA3\n2gV7GFOG+N7fHxyHI8r2WhVKmacX/sbXj8LheZW25cdZaZ8KVJ+/HrXBRwYc\n9tMZdT4ylBvMG57dxH96DTq/Bm7UzV+GPIXOLI8/E6ib1P6yaKXGGe44CwVD\nMB7ImAl3bg3Nixtr7kbCIwbWmQUoWSs4EhgYA2JBitZeR16BI4hktxsvlFUb\nb8VXh+Kkt0cyddrx8IiKhGNjdz+OxKh53s7PXKgNG9JsXTZhLJyKy7hl648z\nPt2q9IfId7FfJqtKM8hZZ6NH8r5CGbo81ciDasV1qNrUW3idX6bCKVBucoKz\np4tSjQydmIl+bTuYUNAj+5TX9uFuoS9qLLlz3/vP3lnE/99SaOzR5KxCxLCd\n+gTUU+o0xpTg2p+dNIWYfESDg8o2HOvmZdF+19b14hJeSHu4AglZuLxbxiZa\nYSJnsTFyfB1hP1BRJsBnWZVtDFdJt59X0DeTqSbVrkSc+LgLXRoYkrzKoTeK\nJxMAkp1VeDiccsIW9qfIwjWpmHQLH7glqGIDyROOpqQL8qcxTBP0z5Ywzd0c\nTBIKXM1rwNcsHlF6RN+7KW6GTuDzN8pAKgIBLwOZWzueGcuddKW+Q1yhq0Cs\nix56\r\n=+KDe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"c66f727779f56036ad247a8f691d9e596d3b7d58","scripts":{"test":"mocha"},"_npmUser":{"name":"mikerah","email":"mikerahqc@protonmail.com"},"repository":{"url":"git+https://github.com/ChainSafeSystems/ssz-js.git","type":"git"},"_npmVersion":"6.2.0","description":"A pure JS implementation of simple serialize","directories":{},"_nodeVersion":"10.4.1","dependencies":{"bn.js":"^4.11.8","deepcopy":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","moch":"0.0.1"},"_npmOperationalInternal":{"tmp":"tmp/ssz_1.5.1_1539645271143_0.08678250771508833","host":"s3://npm-registry-packages"}},"1.5.2":{"name":"ssz","version":"1.5.2","keywords":["\"ssz\"","\"simple","serialize\""],"author":{"name":"ChainSafe Systems and contributors"},"license":"MIT","_id":"ssz@1.5.2","maintainers":[{"name":"mikerah","email":"mikerahqc@protonmail.com"}],"homepage":"https://github.com/ChainSafeSystems/ssz-js#readme","bugs":{"url":"https://github.com/ChainSafeSystems/ssz-js/issues"},"dist":{"shasum":"196dd98ecb71fc92fdad59eae4f0a67cd30edd5f","tarball":"https://registry.npmjs.org/ssz/-/ssz-1.5.2.tgz","fileCount":14,"integrity":"sha512-Vw+xOMc5lWoO4nS4rEg0Eyxb8hnvUpsgFcwp6/0ZhKPZZdppLJ3ENhnljcOny6g7sEivYoJtadR95Yl+FCX4og==","signatures":[{"sig":"MEUCIAp/tl0sGHgiCyB6LTlaLmq46qKPxk75KtmF3+bffTDoAiEAs8wm5K2HVg45snGP6djNNnDj4QbhlD3+Sc7qtee9qSQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63969,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxR/bCRA9TVsSAnZWagAAFt0P/3eiZoQOv+H591C8v2+W\nwtfKM257HWc4PwtaKrW+rc6IqIbDVRlSZ5fssGnl1kOUdQ9BP2AtsCB+TNZ9\nbG7nq0T1n1unfDi1h9+cgzHx681FkZjA7fEF8Ufeo8yB3c6m8fDYREpG16oe\nJ4AkkJSghpNr6kfFmvTrS/oUyQ+HZoV/IGg4dcLhuLCModsO7gmUIZbFjho3\n4P03UNVPMcHTTIyuHnbnfyPD+IuRQw1VKtXxyis3SDwpu1tTzFWZPHT9PAZF\npaILl3em1jhbp8/O9JC9wt9BCQDZVdQn4DsGJ0IQSn9pCbfiUfzJZeGSHz42\nFPtseut+0oyKHkne4eyGQcipYF/j6gbfHmMi59hIOhf1C0swrQMry1Td9QPr\nQdQ4UyHdPPG9MyUbsmHkW7Eispesp1+8oQ8JHp9iNmxFVH8kJuwy7VTFK7ld\nGbvlGpQ65oW0Cdohs6UF3Q/4bxZNwmiuyA8OZmLKpA9U+YLnhYQkOVkguEPh\n8m12xA6bUhyYiKxG3u13GSYiYplNDdvUYaur/WSL2QN7aX9c0fupndrDyhI5\nLYmm5vRU9zO+/pppuCAVrsoTNBINvyipuvV+5T8IlJidjI2BC9o44b0J5HiT\n5g/fPf8y3FMAxqGMEwhWpT/2RrioaB3hyMcH1oN5C1mDXQIqti9nSf3sOW8V\neKQI\r\n=vi/O\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"cdf42d97d123a32110155b6c86c07ee1a20b0596","scripts":{"test":"mocha"},"_npmUser":{"name":"mikerah","email":"mikerahqc@protonmail.com"},"repository":{"url":"git+https://github.com/ChainSafeSystems/ssz-js.git","type":"git"},"_npmVersion":"6.2.0","description":"A pure JS implementation of simple serialize","directories":{},"_nodeVersion":"10.4.1","dependencies":{"bn.js":"^4.11.8","deepcopy":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","moch":"0.0.1"},"_npmOperationalInternal":{"tmp":"tmp/ssz_1.5.2_1539645402519_0.30195593749461946","host":"s3://npm-registry-packages"}},"1.5.3":{"name":"ssz","version":"1.5.3","keywords":["\"ssz\"","\"simple","serialize\""],"author":{"name":"ChainSafe Systems and contributors"},"license":"MIT","_id":"ssz@1.5.3","maintainers":[{"name":"mikerah","email":"mikerahqc@protonmail.com"}],"homepage":"https://github.com/ChainSafeSystems/ssz-js#readme","bugs":{"url":"https://github.com/ChainSafeSystems/ssz-js/issues"},"dist":{"shasum":"eac23efaa06f8a5dc020109e13500b7ed7e95de6","tarball":"https://registry.npmjs.org/ssz/-/ssz-1.5.3.tgz","fileCount":14,"integrity":"sha512-CoLp1A6AfJkajWGLLuUnFNBxClnjlOTrGWkSNgYy1FZ9/E24qGMHd70d3AG8LhbCpaBc84o2OsWTI5snkHNJ2A==","signatures":[{"sig":"MEUCIQCSFQwQsgPps+4nwWtISSkmmKHz9R8DokHKzRlgSI6N1QIga7D+DR7cqn/wWWTGQizKgUDjmyiBSJ4fVjvlICgtABo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67560,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh276pCRA9TVsSAnZWagAAfbgP/208UuxDMVS6fCJqKiL/\nxIzmoC9JNeK2wWaW9di2u2oztur76G5jMDycaorN3lrryHtrUgYtDnzn5eyc\n85lBcaW0x4DJ81QZswOC+JwCNIawTzDlidnUF/KDlpP1C7aZnA9/wrWTnkja\nzuyW36twsL72vcRgxZbx7zqpHumrvP5/i6SgFHekIXxIPgJhkBbV0O6D11b7\nLW8uVVVvNhQq/9I31axCeuffnF3PkgtS7puBuzohXIILJYULiWbd57XmockD\n0mQzeXUJKwD8NwWjt+BgUbBHv4Dzo+AiTaX0Xz2lAG3L3isb2G+GdxKIqtJR\nKEuuBUir/yCnl5FuhC035zk40pznY/NPf9g3h5AQ5e4h9j/xT+a7rlyXzEpj\nxOKqLRoZZF5wnPblhC1twVtFQaCfJQuutiONjdWGuRdGeOhRCAe2bT3kyiWz\nbbzxH2hlXIHeCC0nVhG8ZjIa2qLK3Eu9g8YtAMxUKJIdnAlsTH4aPYKh1tAJ\npmRknn85Z9cPgF6urF+wECIScYgzRjY1WC41r0jAnMxqhzIyh3u3YrP8LqCE\nLtqwJ9+cywz49f1UUR4XWHm/8Ih74S+/OwmLXzxqkx1cCHOCtd0EuY4jjIZB\nZtbijiFCgJXq8RI63NmXH0dhb4XUDJcmvPCOkNvE/nRyEviGEsrXEYqID/9A\nesqG\r\n=TwwL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"61cb5d7c74e0fa0c9718483b3405eeedb3574b1d","scripts":{"test":"mocha"},"_npmUser":{"name":"mikerah","email":"mikerahqc@protonmail.com"},"deprecated":"Use @chainsafesytems/ssz instead","repository":{"url":"git+https://github.com/ChainSafeSystems/ssz-js.git","type":"git"},"_npmVersion":"6.2.0","description":"A pure JS implementation of simple serialize","directories":{},"_nodeVersion":"10.4.1","dependencies":{"bn.js":"^4.11.8","deepcopy":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","moch":"0.0.1"},"_npmOperationalInternal":{"tmp":"tmp/ssz_1.5.3_1539776996763_0.718147312887423","host":"s3://npm-registry-packages"}}},"time":{"created":"2018-10-11T23:48:54.849Z","modified":"2026-04-21T09:52:30.006Z","1.0.0":"2016-09-26T03:04:17.305Z","1.0.1":"2016-09-26T03:04:17.305Z","1.0.3":"2016-09-26T03:04:17.305Z","1.0.4":"2016-09-26T03:04:17.305Z","1.0.2":"2016-09-26T03:04:17.305Z","0.5.0":"2018-10-11T23:48:54.954Z","1.5.0":"2018-10-14T05:18:02.758Z","1.5.1":"2018-10-15T23:14:31.256Z","1.5.2":"2018-10-15T23:16:42.606Z","1.5.3":"2018-10-17T11:49:56.924Z"},"bugs":{"url":"https://github.com/ChainSafeSystems/ssz-js/issues"},"author":{"name":"ChainSafe Systems and contributors"},"license":"MIT","homepage":"https://github.com/ChainSafeSystems/ssz-js#readme","keywords":["\"ssz\"","\"simple","serialize\""],"repository":{"url":"git+https://github.com/ChainSafeSystems/ssz-js.git","type":"git"},"description":"A pure JS implementation of simple serialize","maintainers":[{"email":"caymannava@gmail.com","name":"wemeetagain"},{"email":"me@matthewkeil.com","name":"matthewkeil"},{"email":"mikerahqc@protonmail.com","name":"mikerah"}],"readme":"# ssz-js\n\nSimple Serialize (SSZ) in pure Javascript\n\nInstall:\n\n```bash\n$ npm install ssz\n```\n\nInstall mocha globally:\n\n```bash\n$ npm install -g mocha\n```\n\nRun tests:\n\n```bash\n$ npm test\n```\n\n## Usage\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n#### Table of Contents\n\n-   [serialize](#serialize)\n    -   [Parameters](#parameters)\n-   [deserialize](#deserialize)\n    -   [Parameters](#parameters-1)\n-   [eq](#eq)\n    -   [Parameters](#parameters-2)\n-   [deepcopy](#deepcopy)\n    -   [Parameters](#parameters-3)\n\n### serialize\n\n[src/index.js:13-116](https://github.com/ChainSafeSystems/ssz-js/blob/b3c0bbd5a7e10a802af963829901b9375331afb0/src/index.js#L13-L116 \"Source code on GitHub\")\n\nSimply Serializes (SSZ)\n\n#### Parameters\n\n-   `value` **([Buffer](https://nodejs.org/api/buffer.html) \\| [array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array) \\| [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number) \\| [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object))** Value to serialize: hash32 (Buffer) | address (Buffer) | int8/16/32 | bytes (Buffer) | array | object\n-   `type` **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) \\| [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object))** A type string ('hash32', 'address', 'int8', 'int16', 'int32', 'bytes', 'bool', 'hash96', 'hash97'), or type array ['hash32'], or type object containing fields property\n\nReturns **[Buffer](https://nodejs.org/api/buffer.html)** the byte output\n\n### deserialize\n\n[src/index.js:125-252](https://github.com/ChainSafeSystems/ssz-js/blob/b3c0bbd5a7e10a802af963829901b9375331afb0/src/index.js#L125-L252 \"Source code on GitHub\")\n\nSimply Deserializes (SSZ)\n\n#### Parameters\n\n-   `data` **[Buffer](https://nodejs.org/api/buffer.html)** bytes (buffer) to deserialize\n-   `type` **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) \\| [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object))** A type string ('hash32', 'address', 'int8', 'int16', 'int32', 'bytes', 'bool', 'hash96', 'hash97'), or type array ['hash32'], or type object containing fields property\n\nReturns **([Buffer](https://nodejs.org/api/buffer.html) \\| [array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array) \\| [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number) \\| [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object))** deserialized value : hash32 (Buffer) | address (Buffer) | int8/16/32/64/256 | uint8/16/32/64/256 | bytes (Buffer) | array | object\n\n### eq\n\n[src/index.js:261-265](https://github.com/ChainSafeSystems/ssz-js/blob/b3c0bbd5a7e10a802af963829901b9375331afb0/src/index.js#L261-L265 \"Source code on GitHub\")\n\nChecks if 2 simply serialized objects are equal (SSZ)\n\n#### Parameters\n\n-   `x` **[Buffer](https://nodejs.org/api/buffer.html)** simply serialized object\n-   `y` **[Buffer](https://nodejs.org/api/buffer.html)** simply serialized object\n\nReturns **Bool** the byte output\n\n### deepcopy\n\n[src/index.js:273-276](https://github.com/ChainSafeSystems/ssz-js/blob/b3c0bbd5a7e10a802af963829901b9375331afb0/src/index.js#L273-L276 \"Source code on GitHub\")\n\nReturns a deep copy of a simply serialized object (SSZ)\n\n#### Parameters\n\n-   `x` **[Buffer](https://nodejs.org/api/buffer.html)** Value to deep copy\n\nReturns **[Buffer](https://nodejs.org/api/buffer.html)** the deep copy of x\n\n## Contributors\n\nVery special thank you to [Darren Langley](https://github.com/darrenlangley) for helping build this.\n","readmeFilename":"README.md"}