{"name":"eth-ens-namehash","version":"1.0.1","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":"28a2a40a0c3a06ae2852c65e63bd4bd1500f60ce","_id":"eth-ens-namehash@1.0.1","_shasum":"beacc01b1fdbea31959cd8f3b475d8144cf14bbb","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"danfinlay","email":"dan@danfinlay.com"},"dist":{"shasum":"beacc01b1fdbea31959cd8f3b475d8144cf14bbb","tarball":"http://registry-npm.ywwl.com/eth-ens-namehash/download/eth-ens-namehash-1.0.1.tgz","integrity":"sha512-qLsYZZrUQYQhMRLwCZ/9C7/bxYZvJ9xCyvVhQqwvfbC+hjCwStmS8qcVBWP28SnBzkzgdp7sTjf65YuZDHK92w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCclkGAsj0QP1fTQOC69hwBNjLObKDBSc4rdsJSposq9QIhAPDjBL17mmsdq3CeiKCldqsagJmJtLpmS+V5zz6DoWcU"}],"size":1376,"noattachment":false,"key":"/eth-ens-namehash/-/eth-ens-namehash-1.0.1.tgz"},"maintainers":[{"name":"danfinlay","email":"dan@danfinlay.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/eth-ens-namehash-1.0.1.tgz_1488941287130_0.06532864645123482"},"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":1488941289055,"_cnpm_publish_time":1488941289055,"dist-tags":{"latest":"2.0.8"}}