{"_id":"@ansdomain/eth-ans-namehash","_rev":"1-f44c7ec1ad7b8c426f3ec85e368c94c6","name":"@ansdomain/eth-ans-namehash","dist-tags":{"latest":"2.0.15"},"versions":{"2.0.15":{"name":"@ansdomain/eth-ans-namehash","version":"2.0.15","description":"A simple module for generating ENS namehashes per spec https://github.com/ethereum/EIPs/issues/137","main":"dist/index.js","scripts":{"bundle":"rollup --config rollup.config.js","test":"node test"},"repository":{"type":"git","url":"git+https://github.com/ansdomains/eth-ans-namehash.git"},"keywords":["Ethereum","ENS"],"author":{"name":"Dan Finlay","email":"dan@danfinlay.com"},"license":"ISC","bugs":{"url":"https://github.com/ansdomains/eth-ans-namehash/issues"},"homepage":"https://github.com/ansdomains/eth-ans-namehash#readme","devDependencies":{"@rollup/plugin-commonjs":"^20.0.0","@rollup/plugin-node-resolve":"^13.0.5","idna-uts46-hx":"^3.4.0","js-sha3":"^0.5.7","rollup":"^2.57.0","tape":"^4.6.3"},"directories":{"test":"test"},"_id":"@ansdomain/eth-ans-namehash@2.0.15","_nodeVersion":"16.13.1","_npmVersion":"8.3.1","dist":{"integrity":"sha512-AjOP7v8jbk23l/BX4sHxk886mD526kRWXBCqngp7KqMH4SoA3dbadCRqiO2CX5CCZRZrCkcRxTVWEbivv13z5w==","shasum":"c7deadfe5278b27497682b196e1e4c2e6100f846","tarball":"https://registry.npmjs.org/@ansdomain/eth-ans-namehash/-/eth-ans-namehash-2.0.15.tgz","fileCount":3,"unpackedSize":185978,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIETkKKBpwDsnbi6Gsvppb0f245yLJcUs4dEPyYi8VJkwAiEA7Dw1d5rOKreKqtS3bB+vRV8Jmn5VyteWhw2iuJyitsg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMyH1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq0Ug//QIUYDcScWI+yZ+o9CZk0sqln2Sjt8kwhzHbJv9v84FZmnpI+\r\nguJ1NCgrVs9j9mROu6vdDx8xlvYwm0oO0cPcN9VraGkaMuSFueLBBYXxLVP9\r\n7oqgZLcikQYkRQ+JaFJRmtsNjJIzdWXgMEum+KeXnwJAKgyHWRZoJfD8Bitd\r\nc0N15OQQ2gh+XZ8xETQYAWh7gc4ePp8DX72A6C/jUoITyv8JrBzkfF7dK9C+\r\n+XweSDUloZa2YTjAA75Eu0XDGMgNo0UOU7a2wn/69ZZheBR5PxtZx5gS4Z84\r\nzJ3rZZyj3ok61sO5WwrFLsMpeqMWeXnsiT1S5hLbwZKy4aSzCHLROzLqWbm6\r\nfnRelDKyr4ApsrxZsN+/2FDSlmrWD0lXna67S/S+h2H5DANXCS+WYgBDjVT1\r\n4W0JkqFPs+ZBqbe/UxviiA6peYEptJQDNQEL9OHS+iIPiGbUiRaCQ+YuUHtW\r\nTICYi2oL8I109AWkjpj/cYBji8+sv4FNWwSWd8fjFARXdLAjbfFmOoXcgfL9\r\nUVc4VfpYuGd6VNJ7wDVxTxHLyeWvH0/yCzKJReJ2sQQIPiX9GiOo+cMtZKEg\r\n6WXBKD3zxY1+sw+H4JqLF+mlLwB9klncyrc0Gn2wo9ESu4vAOFdImGBOMJ8u\r\nL0w7Vqh3sYqlOJ6qjAcSg+3g6J1YyW0SBrk=\r\n=Q8uk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arbitrumdomains","email":"arbitrumdns@gmail.com"},"maintainers":[{"name":"arbitrumdomains","email":"arbitrumdns@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eth-ans-namehash_2.0.15_1664295413104_0.9079210220120877"},"_hasShrinkwrap":false}},"time":{"created":"2022-09-27T16:16:53.031Z","2.0.15":"2022-09-27T16:16:53.326Z","modified":"2022-10-26T13:33:56.567Z"},"maintainers":[{"email":"dev.koold@gmail.com","name":"devilla"},{"email":"arbitrumdns@gmail.com","name":"arbitrumdomains"}],"description":"A simple module for generating ENS namehashes per spec https://github.com/ethereum/EIPs/issues/137","homepage":"https://github.com/ansdomains/eth-ans-namehash#readme","keywords":["Ethereum","ENS"],"repository":{"type":"git","url":"git+https://github.com/ansdomains/eth-ans-namehash.git"},"author":{"name":"Dan Finlay","email":"dan@danfinlay.com"},"bugs":{"url":"https://github.com/ansdomains/eth-ans-namehash/issues"},"license":"ISC","readme":"# Eth ENS Namehash (Fork)\n\nA javascript library for generating Ethereum Name Service (ENS) namehashes per [spec](https://github.com/ethereum/EIPs/issues/137).\n\n[Available on NPM](https://www.npmjs.com/package/@ensdomains/eth-ens-namehash)\n\n## Installation\n\n`npm install @ensdomains/eth-ens-namehash -S`\n\n## Usage\n\n```javascript\nvar namehash = require('@ensdomains/eth-ens-namehash')\nvar hash = namehash.hash('foo.eth')\n// '0xde9b09fd7c5f901e23a3f19fecc54828e9c848539801e86591bd9801b019f84f'\n\n// Also supports normalizing strings to ENS compatibility:\nvar input = getUserInput()\nvar normalized = namehash.normalize(input)\n```\n\n## Security Warning\n\nENS Supports UTF-8 characters, and so many duplicate names are possible. For example:\n\n- faceboоk.eth\n- facebook.eth\n\nThe first one has non-ascii chars. (control+F on this page and search for facebook, only the second one will match).\n\nnamehash.normalize() doesn't automagically remap those, and so other precautions should be taken to avoid user phishing.\n\n## Development\n\nThis module supports advanced JavaScript syntax, but exports an ES5-compatible module. To re-build the exported module after making changes, run `npm run bundle` (must have [browserify](http://browserify.org/) installed).\n\n","readmeFilename":"README.md"}