https://github.com/extremeexploit/random.dog.js
https://github.com/extremeexploit/random.dog.js
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/extremeexploit/random.dog.js
- Owner: EXtremeExploit
- Created: 2018-01-15T04:18:39.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-04-20T04:19:03.000Z (about 3 years ago)
- Last Synced: 2025-07-08T09:59:04.770Z (11 months ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## About
random.dog.js is a [node.js](https://nodejs.org) module that allows you to interact with the
[random.dog API](http://random.dog) very easily.
- Predictable abstractions
## Installation
`npm install random.dog.js --save`
## Example usage
```js
const randomDog = require('random.dog.js');
const randomDogApi = randomDog.api();
randomDogApi.getDog().then((dog) => console.log(dog.url))
```