{"name":"eth-ens-namehash","version":"2.0.3","description":"A simple module for generating ENS namehashes per spec https://github.com/ethereum/EIPs/issues/137","main":"dist/index.js","scripts":{"bundle":"browserify -s EthEnsNamehash -e 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":"^1.0.1","js-sha3":"^0.5.7"},"gitHead":"b989e6877a409243d190556521b1b1ddd1fdc1ec","_id":"eth-ens-namehash@2.0.3","_shasum":"53be6bdc9e6f1263a4600b28aaf0ea1af78d4729","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.0.0","_npmUser":{"name":"danfinlay","email":"dan@danfinlay.com"},"dist":{"shasum":"53be6bdc9e6f1263a4600b28aaf0ea1af78d4729","tarball":"http://registry-npm.ywwl.com/eth-ens-namehash/download/eth-ens-namehash-2.0.3.tgz","integrity":"sha512-sIbUtMrTf4BJ0/pcPk3FR4PMHTkRl+gYjRC0Su3qHECtw+m5SHc/S9NAia3mzTQ8LT8z2+6IJmbEep3Q0kyY4A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEejJHC6o5RBQ3/vB9DAAgeYGhN9PgRA5Vys0DNUKKt+AiA73MmdW8+Hn4FwbHBOcDkpoK+7E5VudXFP1s1b4Tdisw=="}],"size":56762,"noattachment":false,"key":"/eth-ens-namehash/-/eth-ens-namehash-2.0.3.tgz"},"maintainers":[{"name":"danfinlay","email":"dan@danfinlay.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eth-ens-namehash-2.0.3.tgz_1511406655465_0.6482432810589671"},"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":1511406655673,"_cnpm_publish_time":1511406655673,"dist-tags":{"latest":"2.0.8"}}