|
@ -6,7 +6,7 @@ Currently do-node only supports domain and domain records functions. |
|
|
|
|
|
|
|
|
## Installation |
|
|
## Installation |
|
|
|
|
|
|
|
|
`npm install --save do-node` |
|
|
`npm install --save @codefeathers/do-node` |
|
|
|
|
|
|
|
|
## Usage |
|
|
## Usage |
|
|
|
|
|
|
|
@ -38,11 +38,3 @@ digitalOcean.domain.Records.Update({ |
|
|
.then(res => console.log(res)) |
|
|
.then(res => console.log(res)) |
|
|
.catch(err => console.log(err.response.data.message)); |
|
|
.catch(err => console.log(err.response.data.message)); |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
## In the browser |
|
|
|
|
|
|
|
|
|
|
|
Use an unpkg script tag to use `do-node` from the browser. |
|
|
|
|
|
|
|
|
|
|
|
```HTML |
|
|
|
|
|
<script src = "https://unpkg.com/do-node"> |
|
|
|
|
|
``` |
|
|
|
|
|