Skip to content

squarepear/pokedeno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pokedeno

nest badge

A module to access https://pokeapi.co/ and http://pokemontcg.io/ from deno!

Usage

import { getAbility, getCard, getCards, getPokemon, getType } from "https://x.nest.land/pokedeno@0.2.1/mod.ts";

console.log(await getPokemon("rotom"));
console.log(await getAbility("soundproof"));
console.log(await getType("steel"));

console.log(await getCard("bw8-49"));
console.log((await getCards({ name: "rotom" }))[3]);