Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

cramatsu/nekos-js

Repository files navigation

Nekos-js

Ну и хуета, как я мог такое выпустить в prod? Даже удалять не буду: в будущем буду рофлить с говноcode

A simple nekos.life API wrapper

Documentation

This library provides the following functions for working with the API

  • eightBall
  • cat
  • fact
  • image
  • randomName
  • owoify
  • why
  • spoiler

eightBall

function eightBall(): Promise<NekosResponses.EightballResponse>;

Returns

{
	"response": "It is OK",
	"url": "https://cdn.nekos.life/8ball/It_is_OK.png"
}

cat

function cat(): Promise<string>;

Returns
ヾ(=`ω´=)ノ


fact

function fact(): Promise<string>;

Returns
On December 17 1991, the Cleveland Cavaliers beat the Miami Heat 148-80, the largest margin of victory in an NBA game


image

function image(categoty: ImageCategory): Promise<string>;

Returns
https://cdn.nekos.life/neko/neko365.jpeg


randomName

function randomName(): Promise<string>;

Returns
Aswin Abraham


owoify

function owoify(text: string): Promise<string>;

Returns

Text before: I love you
Transformed: I wuv you


why

function why(): Promise<string>;

Returns
why is there yugioh season 0?


spoiler

function spoiler(text: string): Promise<string>;

Returns

Text before: Japan
Transformed: ||J||||a||||p||||a||||n||

I hope you have enjoyed everything (´。• ᵕ •。`) ♡

Github: @cramatsu