bns
Advanced tools
Comparing version 0.0.0 to 0.0.1
{ | ||
"name": "bns", | ||
"version": "0.0.0", | ||
"description": "DNS wrapper for node.js", | ||
"version": "0.0.1", | ||
"description": "DNS bike-shed", | ||
"keywords": [ | ||
"bns", | ||
"dns", | ||
"domain", | ||
"getaddrinfo", | ||
"lookup", | ||
"name", | ||
"resolution" | ||
"udp", | ||
"tcp" | ||
], | ||
"license": "MIT", | ||
"repository": "git://github.com/bcoin-org/bdns.git", | ||
"homepage": "https://github.com/bcoin-org/bdns", | ||
"repository": "git://github.com/bcoin-org/bns.git", | ||
"homepage": "https://github.com/bcoin-org/bns", | ||
"bugs": { | ||
"url": "https://github.com/bcoin-org/bdns/issues" | ||
"url": "https://github.com/bcoin-org/bns/issues" | ||
}, | ||
"author": "Christopher Jeffrey <chjjeffrey@gmail.com>", | ||
"main": "./lib/bdns.js", | ||
"main": "./lib/bns.js", | ||
"bin": { | ||
"dig.js": "./bin/dig.js", | ||
"rdig.js": "./bin/rdig.js" | ||
}, | ||
"scripts": { | ||
"browserify": "browserify -s bdns lib/bdns.js | uglifyjs -c > bdns.js", | ||
"clean": "rm -f bdns.js", | ||
"lint": "eslint lib/ test/ || exit 0", | ||
"browserify": "browserify -s bns lib/bns.js | uglifyjs -c > bns.js", | ||
"clean": "rm -f bns.js", | ||
"lint": "eslint bin/ lib/ test/ || exit 0", | ||
"test": "mocha --reporter spec test/*-test.js", | ||
"webpack": "webpack --config webpack.config.js" | ||
}, | ||
"dependencies": { | ||
"bheep": "~0.0.1", | ||
"binet": "~0.1.0", | ||
"bs32": "~0.0.1", | ||
"btcp": "~0.0.2", | ||
"budp": "~0.0.2", | ||
"bufio": "~0.0.3", | ||
"elliptic": "~6.4.0" | ||
}, | ||
"devDependencies": { | ||
"babelify": "^7.3.0", | ||
"babelify": "^8.0.0", | ||
"babel-core": "^6.26.0", | ||
"babel-loader": "^7.1.2", | ||
"babel-loader": "^7.1.4", | ||
"babel-preset-env": "^1.6.1", | ||
"browserify": "^14.5.0", | ||
"eslint": "^4.9.0", | ||
"mocha": "^4.0.1", | ||
"uglifyjs-webpack-plugin": "^1.0.0-beta.3", | ||
"uglify-es": "^3.1.3", | ||
"webpack": "^3.8.1" | ||
"browserify": "^16.1.1", | ||
"eslint": "^4.18.2", | ||
"mocha": "^5.0.4", | ||
"uglifyjs-webpack-plugin": "^1.2.3", | ||
"uglify-es": "^3.3.9", | ||
"webpack": "^4.1.1" | ||
}, | ||
@@ -44,3 +55,3 @@ "engines": { | ||
"browser": { | ||
"./lib/dns": "./lib/dns-browser.js" | ||
"./lib/crypto": "./lib/crypto.js" | ||
}, | ||
@@ -47,0 +58,0 @@ "browserify": { |
@@ -1,9 +0,51 @@ | ||
# bdns | ||
# bns | ||
DNS wrapper for node.js. | ||
DNS library and recursive resolver for node.js, in pure javascript. | ||
## Example | ||
``` bash | ||
$ ./bin/rdig.js google.com | ||
Querying google.com./255. | ||
Verifying zone change to [.] | ||
Checking signatures... | ||
Validated DNSSEC signatures. | ||
Switching authority: [192.41.162.30] (c.gtld-servers.net.) | ||
Switching zone: [.->com.] | ||
Verifying zone change to [com.] | ||
Checking signatures... | ||
Validated DNSSEC signatures. | ||
Switching authority: [216.239.36.10] (ns3.google.com.) | ||
Switching zone: [com.->google.com.] | ||
Trust chain broken due to zone change. | ||
Traversed zones: ., com., google.com. for google.com./255. | ||
Finishing resolving google.com./255 (hops=2). | ||
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 0 | ||
;; flags: qr ra, QUERY: 1, ANSWER: 15, AUTHORITY: 0, ADDITIONAL: 0 | ||
;; QUESTION SECTION: | ||
; google.com. IN ANY | ||
;; ANSWER SECTION: | ||
google.com. 300 IN A 172.217.0.46 | ||
google.com. 300 IN AAAA 2607:f8b0:4005:802::200e | ||
google.com. 300 IN TXT "docusign=05958488-4752-4ef2-95eb-aa7ba8a3bd0e" | ||
google.com. 600 IN MX 20 alt1.aspmx.l.google.com. | ||
google.com. 345600 IN NS ns1.google.com. | ||
google.com. 3600 IN TXT "v=spf1 include:_spf.google.com ~all" | ||
google.com. 600 IN MX 40 alt3.aspmx.l.google.com. | ||
google.com. 345600 IN NS ns3.google.com. | ||
google.com. 600 IN MX 30 alt2.aspmx.l.google.com. | ||
google.com. 86400 IN CAA 0 issue "pki.goog" | ||
google.com. 600 IN MX 50 alt4.aspmx.l.google.com. | ||
google.com. 60 IN SOA ns1.google.com. dns-admin.google.com. 188478103 900 900 1800 60 | ||
google.com. 600 IN MX 10 aspmx.l.google.com. | ||
google.com. 345600 IN NS ns2.google.com. | ||
google.com. 345600 IN NS ns4.google.com. | ||
``` | ||
## Usage | ||
``` js | ||
const dns = require('bdns'); | ||
const bns = require('bns'); | ||
``` | ||
@@ -10,0 +52,0 @@ |
@@ -8,6 +8,6 @@ 'use strict'; | ||
entry: { | ||
'bdns': './lib/bdns' | ||
'bns': './lib/bns' | ||
}, | ||
output: { | ||
library: 'bdns', | ||
library: 'bns', | ||
libraryTarget: 'umd', | ||
@@ -14,0 +14,0 @@ path: __dirname, |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
249554
28
10182
64
7
2
80
+ Addedbheep@~0.0.1
+ Addedbinet@~0.1.0
+ Addedbs32@~0.0.1
+ Addedbtcp@~0.0.2
+ Addedbudp@~0.0.2
+ Addedbufio@~0.0.3
+ Addedelliptic@~6.4.0
+ Addedbheep@0.0.1(transitive)
+ Addedbinet@0.1.1(transitive)
+ Addedbn.js@4.12.0(transitive)
+ Addedbrorand@1.1.0(transitive)
+ Addedbs32@0.0.1(transitive)
+ Addedbtcp@0.0.2(transitive)
+ Addedbudp@0.0.2(transitive)
+ Addedbufio@0.0.4(transitive)
+ Addedelliptic@6.4.1(transitive)
+ Addedhash.js@1.1.7(transitive)
+ Addedhmac-drbg@1.0.1(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedminimalistic-assert@1.0.1(transitive)
+ Addedminimalistic-crypto-utils@1.0.1(transitive)
+ Addedn64@0.1.2(transitive)