{"name":"eth-ens-namehash","version":"1.0.0","description":"A simple module for generating ENS namehashes per spec https://github.com/ethereum/EIPs/issues/137","main":"index.js","scripts":{"test":"node test"},"repository":{"type":"git","url":"git+ssh://git@github.com/flyswatter/eth-ens-namehash.git"},"keywords":["Ethereum","ENS"],"author":{"name":"Dan Finlay","email":"dan@danfinlay.com"},"license":"ISC","bugs":{"url":"https://github.com/flyswatter/eth-ens-namehash/issues"},"homepage":"https://github.com/flyswatter/eth-ens-namehash#readme","devDependencies":{"tape":"^4.6.3"},"dependencies":{"idna-uts46":"^1.0.1","js-sha3":"^0.5.7"},"gitHead":"d0368a07784a58cd48ee301bffeb3315b53b8e89","_id":"eth-ens-namehash@1.0.0","_shasum":"4fd59c646c04c0169f2e69d20a9c8d4e443f6ecd","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"danfinlay","email":"dan@danfinlay.com"},"dist":{"shasum":"4fd59c646c04c0169f2e69d20a9c8d4e443f6ecd","tarball":"http://registry-npm.ywwl.com/eth-ens-namehash/download/eth-ens-namehash-1.0.0.tgz","integrity":"sha512-pjqXcJG3vjgczC/diXbCa1Y6Ylw3l+AVNIkUxi1NeJ6UB5wDW8GMeB26dUc/E60EyS2PEUVhqD1o1dkHtLODYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLN+5SoJ/o9dqqvkD5ulYtpFwlREBaZp9UJ2DLuDbQgQIgfuOkKweIyCh/Mqn5y5HcRH8Ul7xGF6EP3vHxcVByQQQ="}],"size":1329,"noattachment":false,"key":"/eth-ens-namehash/-/eth-ens-namehash-1.0.0.tgz"},"maintainers":[{"name":"danfinlay","email":"dan@danfinlay.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/eth-ens-namehash-1.0.0.tgz_1488941222814_0.5562064335681498"},"readme":"# Eth ENS Namehash [![CircleCI](https://circleci.com/gh/danfinlay/eth-ens-namehash.svg?style=svg)](https://circleci.com/gh/danfinlay/eth-ens-namehash)\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/eth-ens-namehash)\n\n## Installation\n\n`npm install eth-ens-namehash -S`\n\n## Usage\n\n```javascript\nvar namehash = require('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","publish_time":1488941224839,"_cnpm_publish_time":1488941224839,"dist-tags":{"latest":"2.0.8"}}