nekos-js
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

Nekos-js

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

Package Sidebar

Install

npm i nekos-js

Weekly Downloads

1

Version

0.0.4

License

MIT

Unpacked Size

8.41 kB

Total Files

13

Last publish

Collaborators

  • cramatsu