Anime Gifs is a simple npm package created by Dymidless. It allows you to fetch anime gifs and reactions for various purposes.
Here is the list of available reactions:
Reaction |
---|
airkiss |
angrystare |
bite |
bleh |
blush |
brofist |
celebrate |
cheers |
clap |
confused |
cool |
cry |
cuddle |
dance |
drool |
evillaugh |
facepalm |
handhold |
happy |
headbang |
hug |
kiss |
laugh |
lick |
love |
mad |
nervous |
no |
nom |
nosebleed |
nuzzle |
nyah |
pat |
peek |
pinch |
poke |
pout |
punch |
roll |
run |
sad |
scared |
shout |
shrug |
shy |
sigh |
sip |
slap |
sleep |
slowclap |
smack |
smile |
smug |
sneeze |
sorry |
stare |
stop |
surprised |
sweat |
thumbsup |
tickle |
tired |
wave |
wink |
woah |
yawn |
yay |
yes |
First, install the package using npm:
npm install anime-gifs
The package provides two main functions: getAnimeGif
and listReactions
.
This function fetches a gif based on the reaction provided. The reaction
parameter is required. The format
parameter is optional and defaults to 'GIF'.
Example usage:
const { getAnimeGif } = require('anime-gifs');
getAnimeGif('happy')
.then(url => {
// Use the gif url as needed
})
.catch(error => console.error(error));
This function fetches all available reactions.
Example usage:
const { listReactions } = require('anime-gifs');
listReactions()
.then(reactions => {
// Use the reactions as needed
})
.catch(error => console.error(error));
Both functions will throw an error if there is a problem fetching the data. Make sure to handle these errors appropriately in your application.
You can find the source code for this package on GitHub.
This package was created by Dymidless. Feel free to reach out if you have any questions or suggestions. ❤️