UNPKG

@dnslink/js

Version:

The reference implementation for DNSLink in JavaScript. Tested in Node.js and in the Browser.

62 lines (61 loc) 1.76 kB
{ "name": "@dnslink/js", "version": "0.13.0", "description": "The reference implementation for DNSLink in JavaScript. Tested in Node.js and in the Browser.", "main": "index.js", "module": "index.mjs", "types": "./types/index.d.ts", "exports": { "require": "./index.js", "import": "./index.mjs", "types": "./types/index.d.ts" }, "scripts": { "prepare": "esm2umd dnslink", "lint": "standard *.mjs test/*.cjs bin/* && dtslint --localTs node_modules/typescript/lib types", "test": "npm run unit && npm run test-doh && npm run test-udp", "test-doh": "dnslink-test -e log -- node test/integration-doh.cjs", "test-udp": "dnslink-test -e log -- node test/integration-udp.cjs", "browser": "browserify --debug test/unit.js | browser-run", "unit": "fresh-tape test/unit.mjs" }, "standard": { "ignore": "*.ts", "include": "bin/dnslink" }, "bin": { "dnslink": "bin/dnslink", "dnslink-js": "bin/dnslink-js" }, "repository": { "type": "git", "url": "git+https://github.com/dnslink-std/js.git" }, "keywords": [ "dnslink", "decentralized", "dns", "ipfs", "dweb" ], "author": "Martin Heidegger <martin.heidegger@gmail.com>", "license": "MIT or Apache", "bugs": { "url": "https://github.com/dnslink-std/js/issues" }, "homepage": "https://github.com/dnslink-std/js#readme", "dependencies": { "@leichtgewicht/esm2umd": "^0.4.0", "abort-controller": "^3.0.0", "dns-query": "^0.11.1" }, "devDependencies": { "@definitelytyped/dtslint": "^0.0.112", "@dnslink/test": "^0.11.1", "browser-run": "^11.0.0", "browserify": "^17.0.0", "fresh-tape": "^5.5.3", "standard": "^17.0.0", "typescript": "^4.7.2" } }