0.6.3 • Published 6 months ago

nekosapi v0.6.3

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Async wrapper for Nekos API

npm version

Documentation

Quick overview

Import NekosAPI v3:

// TypeScript
import NekosAPI from "nekosapi";
// JavaScript
const { NekosAPI } = require("nekosapi");

const api = new NekosAPI();

api.getRandomImage("Catgirl")
    .then(image => console.log(image));

Import NekosAPI v1:

const { NekosAPIv1 } = require("nekosapi");
// Or using /v1 path
const { NekosAPI } = require("nekosapi/v1");
// Or using default export in /v1 path
import NekosAPI from "nekosapi/v1";

// The constructor accepts a token
const api = new NekosAPI();

// Returns NekosImage object
api.getRandomImage("Catgirl")
    .then(image => console.log(image));

Source code


ko-fi

0.6.3

6 months ago

0.6.2

6 months ago

0.6.1

9 months ago

0.6.0

10 months ago

0.5.3

10 months ago

0.5.2

11 months ago

0.4.4-4

1 year ago

0.4.4-3

1 year ago

0.4.4-2

1 year ago

0.4.4-1

1 year ago

0.4.4-8

1 year ago

0.4.4-7

1 year ago

0.4.4-6

1 year ago

0.4.4-5

1 year ago

0.5.0

1 year ago

0.4.4-0

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.4.3

1 year ago

0.5.1

1 year ago

0.3.3

1 year ago

0.3.0

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago