Skip to content

selcher/gif-search

Repository files navigation

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

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.

About

A javascript module for searching gif images

Resources

License

Stars

Watchers

Forks

Packages

No packages published