update README.md

This commit is contained in:
AJ ONeal 2017-02-23 16:40:20 -07:00
parent de648a3883
commit 2726e20622
1 changed files with 17 additions and 5 deletions

View File

@ -48,19 +48,31 @@ Similar API to `dns.js` and `native-dns-packet`.
} }
``` ```
Install Install with git
------- -------
You can use git to install v1.x (and get updates) or just v1.0.x (and only get patches). You can use git to install v1.x like so:
The API will not break until v2.
```bash ```bash
# latest of v1.x # latest of v1.x
npm install 'git+https://git@git.daplie.com:Daplie/dns-suite#v1' npm install 'git+https://git@git.daplie.com:Daplie/dns-suite#v1'
``` ```
Don't have git? You can bow down to the gods of the centralized, monopolized, concentrated, dictatornet If you want to be more specific to v1.0.x or exactly v1.0.2 you can do so like this:
(as we like to call it here at Daplie Labs):
```
# latest of v1.0.x
npm install 'git+https://git@git.daplie.com:Daplie/dns-suite#v1.0'
# exactly v1.0.2
npm install 'git+https://git@git.daplie.com:Daplie/dns-suite#v1.0.2'
```
Install without git
-------
Don't have git? Well you can also bow down to the gods of the centralized, monopolized, concentrated, dictatornet
(as we like to call it here at Daplie Labs), if that's how you roll:
``` ```
npm install --save dns-suite npm install --save dns-suite