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).
The API will not break until v2.
You can use git to install v1.x like so:
```bash
# latest of v1.x
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
(as we like to call it here at Daplie Labs):
If you want to be more specific to v1.0.x or exactly v1.0.2 you can do so like this:
```
# 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