Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 991 Bytes

readme.md

File metadata and controls

34 lines (29 loc) · 991 Bytes

gimme_neko

I just want a neko using nekos.best api~

nekohugnekohug

Import deno 🦖

import {gimme_neko} from 'https://deno.land/x/gimme_neko@v1.0.0/mod.ts';

function

gimme_neko(): neko_url

SLIME: smth like-

import {gimme_neko, neko_url} from 'https://deno.land/x/gimme_neko@v1.0.0/mod.ts'; // import

const neko: neko_url = await gimme_neko(); // (await) cus returns a Promise<>
console.log(neko); // log neko

console

$ https://nekos.best/api/v2/neko/07996548-24a8-44b5-9200-2a0a74309eb3.png

(or)

$ undefined

SLIME: undefined cus error ;-;

error

$ SLIME: theres no neko here~

SLIME: never really happens but JIC (just-in-case)