Gathering detailed insights and metrics for dns-js
Gathering detailed insights and metrics for dns-js
Gathering detailed insights and metrics for dns-js
Gathering detailed insights and metrics for dns-js
npm install dns-js
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
17 Stars
71 Commits
18 Forks
4 Watching
6 Branches
7 Contributors
Updated on 20 Sept 2024
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-62.4%
260
Compared to previous day
Last week
-29.2%
3,356
Compared to previous week
Last month
33%
17,052
Compared to previous month
Last year
39.3%
119,826
Compared to previous year
4
DNS packet parser specifically built for mdns-js but it should be generic enough to do general dns stuff.
NEW LOCATION
This project was moved into it's own organisation and changed name from node-mdns-js-packet to node-dns-js. Please update any git remotes you might have pointing here.
git remote set-url origin https://github.com/mdns-js/node-dns-js.git
You probably want to have a look at native-dns-packet first and if that does do what you need, you might start looking at this.
dns-js should produce the same output as native-dns-packet, it even uses it's test fixtures and borrows some parts of it.
This was made before i knew about native-dns-packet but since that still has some bugs in handling some mDNS packets I cant use it.
1var dns = require('dns-js'); 2 3/*some code that will get you a dns message buffer*/ 4 5var result = dns.DNSPacket.parse(message); 6 7console.log(result);
Look at examples/dnsresolver.js for a more detailed example.
I will gladly accept any contributions as pull requests. Just run npm run lint on the code first so that the coding style is kept somewhat consistent. I miss doing this myself from time to time and I won't go ballistic if anyone else forget but I would really appreciate it.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
7 existing vulnerabilities detected
Details
Reason
Found 3/22 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More