{"_id":"@ansdomain/eth-ens-namehash","_rev":"1-47d3f8a781b9fbed3ae9d3cb04fdf431","name":"@ansdomain/eth-ens-namehash","dist-tags":{"latest":"2.0.15"},"versions":{"2.0.15":{"name":"@ansdomain/eth-ens-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/ensdomains/eth-ens-namehash.git"},"keywords":["Ethereum","ENS"],"author":{"name":"Dan Finlay","email":"dan@danfinlay.com"},"license":"ISC","bugs":{"url":"https://github.com/ensdomains/eth-ens-namehash/issues"},"homepage":"https://github.com/ensdomains/eth-ens-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-ens-namehash@2.0.15","_nodeVersion":"16.13.1","_npmVersion":"8.3.1","dist":{"integrity":"sha512-PXELYMwfeuUMVCHEgYBcvMN9Hiel/sHLJFwuNwYWe/YRVtX6UvHj0Wixzdw3AqLgOh9jwp+Vwc1TgmVWWpPJew==","shasum":"28a488312d7bc15cf3fc8334fd824f7e9addc948","tarball":"https://registry.npmjs.org/@ansdomain/eth-ens-namehash/-/eth-ens-namehash-2.0.15.tgz","fileCount":3,"unpackedSize":185978,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDa6g6ccECDLEVllwT9IymGN+QaCoTcTXeeUXMLN1T6YQIgZjY82WlQiMAuuH493y+01y51a6umKvEYSfT9ADV4j9s="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMk9FACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqKog//Ub9EzThpxRnSBNZse7bH2ovueloPMJ0Gos6mnQ89VEvGNDnK\r\nq0jlE5y6wRmGd9+nuLBTUoK2LNnHm96atw9K3GbCvyNoJkc4Unz8BRP8p3Sb\r\nvLfWw4TFEIODn5KlxjTaDIio1lK7k18/pEfx5IN3LkP5q89YyAwOcQQGPoAn\r\nwC6R5RuKj8LReUavDOK/TsGp1LKLIV3srXTYFSj/doiIYBJdQnt+p1XiUL1E\r\nNaGZL0YEm2VLSixGLWXGEJ0rNtNL7AAs1GiHT0hUTmcV5GGANHpLIZjPSYZ7\r\nwP4BajUe42sUx+355G68P6fPBh2Jeb5H2pc5uqLsIZzZtGZfb320XVyfzw+M\r\nn/de/LO1kkX5uRwa1L9CKaT9/zkwK+H7YIF+YWuiKrbKoGJyH/zZCiQ+/DO6\r\n12a2BoEpfpNd5ZO/Av7EjwXytyfI6PMqx+E1jYrAKAaIJiqtTMDrJyX8NAPc\r\nWmNcQJHbOdRJmpMVh6sLXJawlWHy6kMivgd5pvzRvnjbQndGOvTPGuJYxHaH\r\nYzP8D5/kLP3epI9/DBK9koM2K2jvtKY251YgWC8+qJ3/uSZyXDabBbGeixnA\r\nnG9j6LehokekW+6pvEPqH+ciFKPHtkcGUDEJ2aclkKhwuSNu3VYk8hBouyME\r\n8mIfv3o30fbMCnYCvQNzi5jdo9wLK7oT4/Y=\r\n=KtMm\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-ens-namehash_2.0.15_1664241476879_0.5093134323579924"},"_hasShrinkwrap":false}},"time":{"created":"2022-09-27T01:17:56.827Z","2.0.15":"2022-09-27T01:17:57.064Z","modified":"2022-10-26T13:33:00.548Z"},"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/ensdomains/eth-ens-namehash#readme","keywords":["Ethereum","ENS"],"repository":{"type":"git","url":"git+https://github.com/ensdomains/eth-ens-namehash.git"},"author":{"name":"Dan Finlay","email":"dan@danfinlay.com"},"bugs":{"url":"https://github.com/ensdomains/eth-ens-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"}