{"name":"eth-ens-namehash","version":"2.0.7","description":"A simple module for generating ENS namehashes per spec https://github.com/ethereum/EIPs/issues/137","main":"index.js","scripts":{"bundle":"browserify index.js -o dist/index.js","test":"node test"},"repository":{"type":"git","url":"git+ssh://git@github.com/danfinlay/eth-ens-namehash.git"},"keywords":["Ethereum","ENS"],"author":{"name":"Dan Finlay","email":"dan@danfinlay.com"},"license":"ISC","bugs":{"url":"https://github.com/danfinlay/eth-ens-namehash/issues"},"homepage":"https://github.com/danfinlay/eth-ens-namehash#readme","devDependencies":{"tape":"^4.6.3","babel-preset-es2015":"^6.24.1","babel-preset-stage-0":"^6.24.1","browserify":"^14.0.0"},"dependencies":{"idna-uts46-hx":"^2.3.1","js-sha3":"^0.5.7"},"gitHead":"33b5fdd5f5466953bc8d7ad6ba5d54eac55bca8e","_id":"eth-ens-namehash@2.0.7","_shasum":"9ec6894e40af256ed682c1420457d10f7add4918","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.0.0","_npmUser":{"name":"danfinlay","email":"dan@danfinlay.com"},"dist":{"shasum":"9ec6894e40af256ed682c1420457d10f7add4918","tarball":"http://registry-npm.ywwl.com/eth-ens-namehash/download/eth-ens-namehash-2.0.7.tgz","integrity":"sha512-UdosgWMwOCDCUlyzfRBU+/ToZ4JYaVvvsFn9PkHaQs6kn3EFcK1GvtlF5w0aHZ1IuA2ru4qCrCQLTI9vDKfVlw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJtvEp8AU1lVhaTPromhWI3MBqDsMw8vm+XlqwMzQE7wIhAKrNQltft07RO7CtYfMA0VRCln2QIiTcCpcVAUCtdQQu"}],"size":57682,"noattachment":false,"key":"/eth-ens-namehash/-/eth-ens-namehash-2.0.7.tgz"},"maintainers":[{"name":"danfinlay","email":"dan@danfinlay.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eth-ens-namehash-2.0.7.tgz_1511407571820_0.6001815854106098"},"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":1511407571908,"_cnpm_publish_time":1511407571908,"dist-tags":{"latest":"2.0.8"}}