{"name":"native-dns-packet","version":"0.1.0","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":"5cc112ed4a2a6e0397cdd33984a98e035db21ce5","_id":"native-dns-packet@0.1.0","_shasum":"be39ae9593acd0f8bcb5e4a97b3faa97dc64a3e9","_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":"be39ae9593acd0f8bcb5e4a97b3faa97dc64a3e9","tarball":"http://registry-npm.ywwl.com/native-dns-packet/download/native-dns-packet-0.1.0.tgz","integrity":"sha512-W6QkfpSIhYMQAjUyklLqIHJMN3+zJRN8OYazr5m9DBdFlLxl97DGVT60Hru75CisTlw0FQPsn7vrUZhagJHmVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDsqOwGHiTLpI4+QVjA/5CgE1NIQaDuyDnJzeH/N+DSMAIhAP5mmn7VwXuyy0SfvBV8fs+iK8h3uIQzK78j+Cxfbkt/"}],"size":11395,"noattachment":false,"key":"/native-dns-packet/-/native-dns-packet-0.1.0.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":1412552250815,"_cnpm_publish_time":1412552250815,"dist-tags":{"0.1.0":"0.1.0","latest":"0.1.1"}}