senko-utils
v1.0.0
Published
A utility package to get random anime gifs URLs.
Downloads
2
Readme
senko-utils
A utility package to get random anime gifs URLs.
Installation
You can install senko-utils
using npm:
npm install senko-utils
Usage
const getInteUrl = require('senko-utils');
try {
// Get a random pat gif URL
const patUrl = getInteUrl('pat');
console.log(patUrl);
// Get a random slap gif URL
const slapUrl = getInteUrl('slap');
console.log(slapUrl);
// Get a random cuddle gif URL
const cuddleUrl = getInteUrl('cuddle');
console.log(cuddleUrl);
} catch (error) {
console.error(error.message);
}
Example
Here's an example of how you can use senko-utils
in your project:
const getInteURL = require('senko-utils');
// Get a random highfive gif URL
const highfiveUrl = getInteUrl('highfive');
console.log(highfiveUrl);
// Get a random tickle gif URL
const tickleUrl = getInteUrl('tickle');
console.log(tickleUrl);