{"_id":"1ns-dns-js","name":"1ns-dns-js","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"1ns-dns-js","version":"0.1.0","repository":{"type":"git","url":"git+https://github.com/jw-1ns/node-dns-js.git"},"description":"DNS Packet handling in pure javascript (slight change for null IP modifying dns-js)","engines":{"node":">= 14.x"},"main":"index.js","scripts":{"test":"lab --coverage --flat","lint":"eslint ."},"author":{"name":"John Whitton","email":"john@johnwhitton.com"},"contributor":"Peter Magnusson <me@kmpm.se>","license":"MIT","bugs":{"url":"https://github.com/mdns-js/node-dns-js/issues"},"homepage":"https://github.com/hw-1ns/node-dns-js","dependencies":{"debug":"^2.1.0","qap":"^3.1.2"},"devDependencies":{"@hapi/code":"*","eslint":"*","@hapi/lab":"*","native-dns-packet":"0.1.1"},"gitHead":"e5049810ba0b099feac87f67549de39387239e94","_id":"1ns-dns-js@0.1.0","_nodeVersion":"18.7.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-keT704SSHpl1CelAxj4BE4i917NaawPl6Bez7elbOJEjeTQAwb9VQDLnQskLsdhpLLcyLSHAg2o3CwLY4Z5QjQ==","shasum":"b8e8350b96baa3bd5c80a24241dc06c6d2e15c06","tarball":"https://registry.npmjs.org/1ns-dns-js/-/1ns-dns-js-0.1.0.tgz","fileCount":103,"unpackedSize":119865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0chdja7jmesi/dQpdxGe0//8j9cBBjqimKCrxfd9I5QIhAMQXosdWZ3qnAOQCWzDstERN3d/MUWHA51AvWTVHfz6D"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7DfXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr+MhAAjKhjQiHajfl0C60l5FMTii3LAHHgQVb4E4XGNxi4KFxcPg6U\r\nie/PjX0B0f24vbQeL5gnK43hmQ4wJMQJdToetjIXsZQSOq8OT0vMh1PThj1I\r\n21q1EN40L7HEq+74Pv3G6nSgHDzX7R+63lMkbqz+hE4WW9F8DKrqCIDccjh6\r\nu6aawAzy7vLlgXcb8ZS7DwcjWDLWFqOl10Gpb5xvVjZzKhxWnyBg+gdmNPO2\r\nPvIzBqxMaWmkxM4sBl9A147RXSYPDjA+iohWG4kAPy6ddJ0ToaMfzJ/zbgOY\r\n66rS3/pmRQ5lIaJUIwfgmLIyi+ymkLIJMgPN1MX8VDzcMxEq6Wt71pAXqy10\r\n94aqrTJ0kfX0QZeoREEzMqKGC8KfsxV/2sf5NS4PSX9ifzWNsG1Bc2tT0quv\r\nXpgksu9kkFbjNhvC27HFbNyG0r/Uq0N/J/+yudG/kHYo/LN+BDQr5LHFLlKe\r\nsyztfh/EKLyvqk9qhXLPYrahSicha1J+Ndg/pQjwn5T+fa/9YP7evf4vVVdL\r\nffqpX6Jq2qnRmr5ywwvcajos7GrfhehHoSmctFHJqH1hP47N8U/3fn7EnQo3\r\n3DmZpREqpZjNA+imswDHdb0fYLDsLMyzuTRtiHNMKKiKGVdRq80nB5qVKPB0\r\nPRkFh0/WUzwI2jiWHNS015p7btwY+/cO4rY=\r\n=zgvU\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"john_whitton","email":"john@johnwhitton.com"},"directories":{},"maintainers":[{"name":"john_whitton","email":"john@johnwhitton.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/1ns-dns-js_0.1.0_1676425175465_0.5735475739877332"},"_hasShrinkwrap":false}},"time":{"created":"2023-02-15T01:39:35.464Z","0.1.0":"2023-02-15T01:39:35.693Z","modified":"2023-02-15T01:39:35.897Z"},"maintainers":[{"name":"john_whitton","email":"john@johnwhitton.com"}],"description":"DNS Packet handling in pure javascript (slight change for null IP modifying dns-js)","homepage":"https://github.com/hw-1ns/node-dns-js","repository":{"type":"git","url":"git+https://github.com/jw-1ns/node-dns-js.git"},"author":{"name":"John Whitton","email":"john@johnwhitton.com"},"bugs":{"url":"https://github.com/mdns-js/node-dns-js/issues"},"license":"MIT","readme":"dns-js\n==============\n\n[![Build Status](https://travis-ci.org/mdns-js/node-dns-js.svg?branch=master)](https://travis-ci.org/mdns-js/node-dns-js)\n\nDNS packet parser specifically built for [mdns-js](https://github.com/mdns-js/node-mdns-js) \nbut it should be generic enough to do general dns stuff.\n\nNEW LOCATION\n\nThis project was moved into it's own organisation and changed name from node-mdns-js-packet to node-dns-js. \nPlease update any git remotes you might have pointing here.\n\n    git remote set-url origin https://github.com/mdns-js/node-dns-js.git\n\n\n\nYou probably want to have a look at \n[native-dns-packet](https://github.com/tjfontaine/native-dns-packet)\nfirst and if that does do what you need, you might start looking at this.\n\ndns-js should produce the same output as native-dns-packet,\nit even uses it's test fixtures and borrows some parts of it.\n\nThis was made before i knew about native-dns-packet but since that\nstill has some bugs in handling some mDNS packets I cant use it.\n\nexample\n-------\n\n```javascript\nvar dns = require('dns-js');\n\n/*some code that will get you a dns message buffer*/\n\nvar result = dns.DNSPacket.parse(message);\n\nconsole.log(result);\n```\n\nLook at examples/dnsresolver.js for a more detailed example.\n\nContribute\n----------\nI will gladly accept any contributions as pull requests.\nJust run __npm run lint__ on the code first so that the coding style\nis kept somewhat consistent.\nI miss doing this myself from time to time and I won't go ballistic if anyone\nelse forget but I would really appreciate it.\n","readmeFilename":"README.md"}