Skip to content
Every Framework Needs a Cat API
TypeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis.yml
LICENSE
README.md
cats.ts
mod.ts
test.ts

README.md

CatYou - Deno

Every Framework Needs a Cat API

Build Status

Usage

Quite similarily to the npm package, Cat-You generates cats either by random, or by passing in a particular cat name as a parameter.

import { catYou } from 'https://deno.land/x/catyou/mod.ts';

console.log(catYou());

//    /\ ___ /\
//   (  o   o  )
//    \  >#<  /
//    /       \
//   /         \       ^
//  |           |     //
//   \\         /    //
//    ///  ///   --

console.log(catYou("nyan"));

//    ☆    ☆  ☆
//  ┈┈┈┈ ╭━━━━━━╮  ☆
//  ┈☆ ┈┈┃╳╳╳▕╲▂▂╱▏
//  ┈┈☆ ┈┃╳╳╳▕▏▍▕▍▏
//  ┈┈ ╰━┫╳╳╳▕▏╰┻╯▏
//  ☆ ┈┈┈┃╳╳╳╳╲▂▂╱
//     ☆ ╰┳┳━━┳┳╯   ☆

// Options: grumpy, approaching, tubby, confused, playful, thoughtful, delighted, nyan, resting

Credits

This Module is simply an improvised version of the cat-me package by coleww, who obviously is much better at ASCII art than I am :)

You can’t perform that action at this time.