gif-search
v3.0.3
Published
A javascript module for searching gif images
Downloads
1,036
Readme
gif-search
A javascript module for searching gif images
Getting Started
import * as gifSearch from 'gif-search';
// Set your Giphy API Key
gifSearch.setAPIKey('api-key');
// Search for a gif
gifSearch.query('cat').then(
gifUrl => console.log(gifUrl)
);
// Search for a random gif
gifSearch.random('cat').then(
gifUrl => console.log(gifUrl)
);
Installing
npm install gif-search
Running the tests
npm test
Built With
- Gipy API
- Request - make http calls
- TypeScript
Contributing
Please read CONTRIBUTING.md for details on contributing to the repository.
Development
Clone the repository in an empty directory.
Commit changes then create a pull request.
Versioning
The project uses Semver for versioning. To check the released versions, see the tags on this repository.
License
This project is licensed under the MIT License - see the LICENSE.md file for details.