{"name":"eth-ens-namehash","version":"2.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":"37916c4fa43cb102df48d67b147e9621dfddef71","_id":"eth-ens-namehash@2.0.0","_shasum":"9661517bfc138726592fa0f160b606ecd5874ef2","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.3","_npmUser":{"name":"danfinlay","email":"dan@danfinlay.com"},"dist":{"shasum":"9661517bfc138726592fa0f160b606ecd5874ef2","tarball":"http://registry-npm.ywwl.com/eth-ens-namehash/download/eth-ens-namehash-2.0.0.tgz","integrity":"sha512-vvvWllQlcu8g0Vxc7BIUDLe9TqTzEyIV2WVb6akg1GPi67L+4UB3TRbIo52nG606YRyUWhgYf8Jz4rgLZu21nQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGd28NLgfORvyUWl4EqioUiuJAxd/eAgznSYDxV9vCaiAiEAoExVoApaxI0XkAMgcrLnMvdXwKvoHiCylTWocQ/B7oE="}],"size":1547,"noattachment":false,"key":"/eth-ens-namehash/-/eth-ens-namehash-2.0.0.tgz"},"maintainers":[{"name":"danfinlay","email":"dan@danfinlay.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/eth-ens-namehash-2.0.0.tgz_1494005811762_0.8192392499186099"},"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":1494005813950,"_cnpm_publish_time":1494005813950,"dist-tags":{"latest":"2.0.8"}}