{"name":"native-dns-packet","version":"0.1.1","authors":["Timothy J Fontaine <tjfontaine@gmail.com> (http://atxconsulting.com)","Greg Slepak <contact@taoeffect.com> (https://twitter.com/taoeffect)","Matthieu Rakotojaona"],"description":"Raw DNS Packet Parsing and Writing","keywords":["dns","parsing"],"homepage":"http://github.com/tjfontaine/native-dns-packet","bugs":{"url":"http://github.com/tjfontaine/native-dns-packet/issues"},"repository":{"type":"git","url":"http://github.com/tjfontaine/native-dns-packet.git"},"main":"index.js","engines":{"node":">= 0.5.0"},"license":"MIT","scripts":{"test":"tap ./test/*.js"},"dependencies":{"buffercursor":">= 0.0.12","ipaddr.js":">= 0.1.1"},"devDependencies":{"tap":">= 0.4.3"},"gitHead":"296bfe5337b57e93a605838a4da48924e8d46e4b","_id":"native-dns-packet@0.1.1","_shasum":"97da90570b8438a00194701ce24d011fd3cc109a","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"taoeffect","email":"contact@taoeffect.com"},"maintainers":[{"name":"tjfontaine","email":"tjfontaine@gmail.com"},{"name":"taoeffect","email":"contact@taoeffect.com"}],"dist":{"shasum":"97da90570b8438a00194701ce24d011fd3cc109a","tarball":"http://registry-npm.ywwl.com/native-dns-packet/download/native-dns-packet-0.1.1.tgz","integrity":"sha512-j1XxnFFTUB7mujma468WyAOmyVtkuuLTelxJF13tSTIPO56X7bHALrG0G4jFQnvyTPCt4VnFiZezWpfKbaHc+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDUSWM3099j6RoIIcb+IFvKAPJGLIqT43tBHlyQBmk1YAiAsV2ADOrYRVj4ZzS8r2L6EQ/grhdDneOw3ErIvREB8Ug=="}],"size":11416,"noattachment":false,"key":"/native-dns-packet/-/native-dns-packet-0.1.1.tgz"},"directories":{},"readme":"native-dns-packet\n-----------------\n\n * `Packet.parse(buffer)` returns an instance of `Packet`\n * `Packet.write(buffer, packet)` writes the given packet into the buffer,\ntruncating where appropriate\n\n```javascript\nvar Packet = function () {\n  this.header = {\n    id: 0,\n    qr: 0,\n    opcode: 0,\n    aa: 0,\n    tc: 0,\n    rd: 1,\n    ra: 0,\n    res1: 0,\n    res2: 0,\n    res3: 0,\n    rcode: 0\n  };\n  this.question = [];\n  this.answer = [];\n  this.authority = [];\n  this.additional = [];\n  this.edns_options = [];\n  this.payload = undefined;\n};\n```\n\n## History\n\n###### 0.1.1 - October 5, 2014\n\n- Fixing NPM tagging issue...\n\n###### 0.1.0 - October 2, 2014\n\n- Added TLSA support\n- Fixed EDNS & NAPTR support + deprecates some EDNS fields on Packet\n- Now includes support for forwarding EDNS responses (Packet.edns)\n- Added many TODOs with suggested improvements\n- Added many links to GH issues and RFCs\n- Cleaned up code a bit to better please linters\n- Added deprecation notices (see parseOpt)\n- Handle unhandled RRs on writing packet instead of throwing exception.\n- edns/opt should use BufferCursor.copy (Fixes #11)\n- Updated `package.json` to include all authors\n- Merged tj's `master` branch to add License info\n- Updated README to include history of changes\n","publish_time":1412552494025,"_cnpm_publish_time":1412552494025,"dist-tags":{"0.1.0":"0.1.0","latest":"0.1.1"}}