Skip to content

purpleblueslime/gimme_neko

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

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)