senko-utils

1.0.0 • Public • Published

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);

Readme

Keywords

none

Package Sidebar

Install

npm i senko-utils

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

2 kB

Total Files

3

Last publish

Collaborators

  • daspking