{"_id":"@cursorsdottsx/h","_rev":"2-e4dfddc49b4faf8d81ee67cf4e644af8","name":"@cursorsdottsx/h","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@cursorsdottsx/h","version":"1.0.0","description":"A pretty bad implementation of a hashcode that works 99.9% of the time.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/cursorsdottsx/h.git"},"keywords":[],"author":{"name":"im-lonely","email":"cursors.dev@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/cursorsdottsx/h/issues"},"homepage":"https://github.com/cursorsdottsx/h#readme","gitHead":"4ba2bf35de0c5daa2b3a86ac578af174aeefda58","_id":"@cursorsdottsx/h@1.0.0","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-DXrcFycZMdmEbYWA+nzs94T647q1Z6g7LcXWlRZ40p9GFkl+PGjmggZcrMteeBhaLLD1JrP+CgsAjUl1J/9r6A==","shasum":"cae774e7a55bfc4fd54b46772f1f116dc6ff68a0","tarball":"https://registry.npmjs.org/@cursorsdottsx/h/-/h-1.0.0.tgz","fileCount":3,"unpackedSize":4439,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpXGcCRA9TVsSAnZWagAAOb4P/2jhnpX8Y/6J/1fVUTcV\no0o8p523trJKyKkTOj0f0UJShqRPVvQR1HAfVWLG63WvCvAbsW8/Tbcqq5z9\n6GPCY6QsQ6TU0BqMWXxDjo6lmU2jmuBQzTVyakFhzEK8EuQjD12igxuoHTRN\nWDS+86UApBUCMBq5ptthmsc7g+H4gy/MTmWARqpxP2D3SDgL4WaWNYquVN35\nLOIj3QmjF5x8hGF+uyAUG6ta1XDgIua6slcicn6ruka0GwyzXY6+w52agZOM\nVBqXbgCasDbTy0clJ5bYyNxQNBaATMHOIx9wP0bhzdl0ip3gSrtgXqTtJHrs\n60YsJRPAjFzym8INSXJISFp2E1PpIULk/MehrVU6uxmeIRs0qll9NHauwbx/\nfLg7QXhoLVC+6Gpc/kFgt7aiavU0v8Md6tRxveowW41UJ1tohVgsYmLUA+Wl\nyK28i4E1EjyvZYzY0bEDcoZFDLUg6e3sqEMoLkMiWVnGXHgaFmMPHzYzQl4v\n0bbVRe/A4L/jFjUf1uJvPJ20ErTVZgbnTOthYkglxNFQxCldsNfbjkWO1lbC\nV4KmFivXpmHpAE1QylmuVMA7Bxyn2faP2LMnfXxTmgAEYYE/Q05JKi4chWH1\nIhDqR7UyGc4ZRnve+L8tm5eT/kK5LgmWirgxgUJ41ZbB9S9f0mx2WRQL3p/j\nQQTW\r\n=L9yi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAGv9+i//pr8cF6k5fCVD3t6hvVa3Lm8v7hqkjutL8bfAiBjPbmvicb3hJJfeuuey7YG4H+ebY5ue6JmWFy4WC15Vw=="}]},"_npmUser":{"name":"cursorspkg","email":"cursors.dev@gmail.com"},"directories":{},"maintainers":[{"name":"cursorspkg","email":"cursors.dev@gmail.com"},{"name":"cursorsdev","email":"cursors.alt@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/h_1.0.0_1621455260201_0.9692714437166863"},"_hasShrinkwrap":false},"1.0.1":{"name":"@cursorsdottsx/h","version":"1.0.1","description":"A pretty bad implementation of a hashcode that works 99.9% of the time.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/cursorsdottsx/h.git"},"keywords":[],"author":{"name":"im-lonely","email":"cursors.dev@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/cursorsdottsx/h/issues"},"homepage":"https://github.com/cursorsdottsx/h#readme","gitHead":"73e93a6efeec8d428cf42e52ffb2be000fffce74","_id":"@cursorsdottsx/h@1.0.1","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-aTakWBGvRErlUHuNBcU6rudZ8ZXVmVnl7/rFktQLcOpD/cDHHl1aQVYmH4HtV7xvpdOej68VpPKwjBi5hEcR6w==","shasum":"283d3db3b42538971abf1496b4a6a6d0bdeaa71f","tarball":"https://registry.npmjs.org/@cursorsdottsx/h/-/h-1.0.1.tgz","fileCount":4,"unpackedSize":5323,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgqV68CRA9TVsSAnZWagAA1xgP/1CrhIqrkGwg6kFlmuTp\nSmAq3WV5ZfgsojmG3A5gVNF0RHmIcADCgULRIyr/DC9BdnikGsB7vsQ83OSZ\nHFlj6FhFgpHD8QyrTY0sCtbL+F4reYtFTx3VKDXCNCc0h7BDAjk8zOOxOlh7\nRxxzYF3hEWoMxdZ2sbg0X+9viH4WQy5hNNy2R/3KFzW2WKPw3zQO3DzgQXsV\nRAVfFUXr0TRu0vQf/iQMzoSpc8QecL3pr6OlcjbRPLyww4sBsFwBPfD8hpna\nXqcJMJOjYpvzqfex3W7fNXUSfChenydAc4R8fhVnZn8Gz1bd1s7PJNZR+BQ5\nQtA7E+x4Z7mIXcndft5SiwPjuAb+XyaSdsxri77pt1tS6vxDFIVnfUicYZOf\neH5fKvfRMZ1Se/06ovUqycm5+04mktZquAnnUwtwRL9t62HuhJtN+DCpS5CX\nQWnnjRywFX1RaUl5PjZdyM+WMS6bOntRZGaJ9jYEKmTu26k68yy3c/N1OdA2\nsAcSDtatSIogxKtPkTz+lJGQDvK/roaOcoY2VDKz8Q/aYYS/iWcAN5Qxh2s7\nVjrAlR3QXJ/klsAslxQwJnEwlfyW0FwYw4d71RMVThY5PTHbOJZzVfyJHl/O\nesZd9enRATLD07v9Iu31tHkdt1R9ExlB4ZlNx6U4UdZlRxw5vtcW9XcL5kvf\npshp\r\n=Wjl+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5h7Po20LS21JJ/5PqojFCQVugyTf9woC3XTUinAv5VgIhANRrBhL/M99iotWIUP7nxKqVi8Hnegb6ILSbQIhY6Msb"}]},"_npmUser":{"name":"cursorspkg","email":"cursors.dev@gmail.com"},"directories":{},"maintainers":[{"name":"cursorspkg","email":"cursors.dev@gmail.com"},{"name":"cursorsdev","email":"cursors.alt@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/h_1.0.1_1621712572398_0.41573988418883956"},"_hasShrinkwrap":false}},"time":{"created":"2021-05-19T20:14:19.832Z","1.0.0":"2021-05-19T20:14:20.364Z","modified":"2022-04-05T02:20:39.248Z","1.0.1":"2021-05-22T19:42:52.539Z"},"maintainers":[{"name":"cursorspkg","email":"cursors.dev@gmail.com"},{"name":"cursorsdev","email":"cursors.alt@gmail.com"}],"description":"A pretty bad implementation of a hashcode that works 99.9% of the time.","homepage":"https://github.com/cursorsdottsx/h#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/cursorsdottsx/h.git"},"author":{"name":"im-lonely","email":"cursors.dev@gmail.com"},"bugs":{"url":"https://github.com/cursorsdottsx/h/issues"},"license":"MIT","readme":"| [a](https://www.npmjs.com/package/@cursorsdottsx/a)\n| [b](https://www.npmjs.com/package/@cursorsdottsx/b)\n| [c](https://www.npmjs.com/package/@cursorsdottsx/c)\n| [d](https://www.npmjs.com/package/@cursorsdottsx/d)\n| [e](https://www.npmjs.com/package/@cursorsdottsx/e)\n| [f](https://www.npmjs.com/package/@cursorsdottsx/f)\n| [g](https://www.npmjs.com/package/@cursorsdottsx/g)\n| **h**\n| [i](https://www.npmjs.com/package/@cursorsdottsx/i)\n| [j](https://www.npmjs.com/package/@cursorsdottsx/j)\n| [k](https://www.npmjs.com/package/@cursorsdottsx/k)\n| [l](https://www.npmjs.com/package/@cursorsdottsx/l)\n| [m](https://www.npmjs.com/package/@cursorsdottsx/m)\n| [n](https://www.npmjs.com/package/@cursorsdottsx/n)\n| [o](https://www.npmjs.com/package/@cursorsdottsx/o)\n| [p](https://www.npmjs.com/package/@cursorsdottsx/p)\n| [q](https://www.npmjs.com/package/@cursorsdottsx/q)\n| [r](https://www.npmjs.com/package/@cursorsdottsx/r)\n| [s](https://www.npmjs.com/package/@cursorsdottsx/s)\n| [t](https://www.npmjs.com/package/@cursorsdottsx/t)\n| [u](https://www.npmjs.com/package/@cursorsdottsx/u)\n| [v](https://www.npmjs.com/package/@cursorsdottsx/v)\n| [w](https://www.npmjs.com/package/@cursorsdottsx/w)\n| [x](https://www.npmjs.com/package/@cursorsdottsx/x)\n| [y](https://www.npmjs.com/package/@cursorsdottsx/y)\n| [z](https://www.npmjs.com/package/@cursorsdottsx/z)\n|\n\n**H is for Hashcode**\n\n# @cursorsdottsx/h\n\nA pretty bad implementation of a hashcode that works 99.9% of the time.\n\n#### Installation\n\nHashcode can be installed with either NPM or Yarn.\n\n```bash\nnpm install @cursorsdottsx/h\n```\n\n```bash\nyarn add @cursorsdottsx/h\n```\n\n#### Usage\n\nUpon importation of Hashcode, it will modify the `Object` global and give objects a `hashCode` method.\n\n```js\nrequire(\"@cursorsdottsx/h\");\n```\n\n```js\nimport \"@cursorsdottsx/h\";\n```\n\n#### Documentation\n\n**`Object.prototype.hashCode(): string`**\n\n#### Examples\n\n```js\n({ foo: \"bar\" }).hashCode(); // => KE9iamVjdCRmb28jc3RyaW5nOmZvbyk=\n\n({ object: { pls: \"install\" }, hello: \"world\", }).hashCode(); // => KE9iamVjdCRvYmplY3QjS0U5aWFtVmpkQ1J3YkhNamMzUnlhVzVuT25Cc2N5az1AaGVsbG8jc3RyaW5nOmhlbGxvKQ==\n```\n\nThe hashcode of an object should be the same, and two objects with the same hashcode should be the same. If this is not true for a pair of objects please open an issue (properties that are not enumerable don't count).\n\n[npm abc's homepage](https://codepen.io/cursorsdottsx/full/KKWNRaY)\n","readmeFilename":"README.md"}