rebrand as dns-suite

This commit is contained in:
AJ ONeal 2017-02-23 16:25:39 -07:00
parent 442c5c8a20
commit 3049b40031
2 changed files with 12 additions and 12 deletions

View File

@ -1,19 +1,19 @@
dns-lint dns-suite
======== ========
Fast, lightweight, **pure JavaScript** (ES5.1) implementation for DNS / mDNS. Fast, lightweight, and easy-to-extend **pure JavaScript** (ES5.1) implementation for DNS / mDNS.
Works great in **Web Browsers** and in node.js! Works great in **Web Browsers** and in node.js!
Detailed error checking makes it great for Detailed error checking makes it great for
* capture * capture
* packing (JSON to DNS) * packing (JSON to DNS/mDNS)
* parsing (DNS to JSON) * parsing (DNS/mDNS to JSON)
* linting (finding errors in packets) * linting (finding errors in packets)
* debugging * debugging
**No external dependencies** for modern browsers. Uses `DataView`, `Uint8Array`, `Uint16Array`, and `ArrayBuffer` **No external dependencies** for node.js or modern browsers. Uses `DataView`, `Uint8Array`, `Uint16Array`, and `ArrayBuffer`
Similar API to `dns.js` and `native-dns-packet`. Similar API to `dns.js` and `native-dns-packet`.
@ -52,13 +52,13 @@ Install
------- -------
```bash ```bash
npm install git+https://git@git.daplie.com:Daplie/dns-lint npm install git+https://git@git.daplie.com:Daplie/dns-suite
``` ```
**Test**: **Test**:
```bash ```bash
pushd node_modules/dns-lint pushd node_modules/dns-suite
npm test npm test
``` ```
@ -68,10 +68,10 @@ Usage
**CLI** **CLI**
You can work directly from `node_modules/dns-lint`: You can work directly from `node_modules/dns-suite`:
```bash ```bash
pushd node_modules/dns-lint/ pushd node_modules/dns-suite/
``` ```
Capture mDNS broadcast packets Capture mDNS broadcast packets
@ -110,7 +110,7 @@ node.js:
var nodeBuffer = fs.readFileSync('./samples/a-0.mdns.bin'); var nodeBuffer = fs.readFileSync('./samples/a-0.mdns.bin');
var arrayBuffer = nodeBuffer.buffer; var arrayBuffer = nodeBuffer.buffer;
var dnsjs = require('dns-lint'); var dnsjs = require('dns-suite');
var packet = dnsjs.unpack(arrayBuffer); var packet = dnsjs.unpack(arrayBuffer);
console.log(packet); console.log(packet);

View File

@ -1,5 +1,5 @@
{ {
"name": "dns-lint", "name": "dns-suite",
"version": "1.0.0", "version": "1.0.0",
"description": "testing dns", "description": "testing dns",
"main": "dns.js", "main": "dns.js",
@ -8,7 +8,7 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git@git.daplie.com:Daplie/dns-lint.git" "url": "git@git.daplie.com:Daplie/dns-suite.git"
}, },
"author": "", "author": "",
"license": "(MIT or Apache2)" "license": "(MIT or Apache2)"