Package Exports
- nekobot-api
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nekobot-api) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
nekobot-api
NekoBot API wrapper for Node.js
Installing
# npm
npm i nekobot-api
# yarn
yarn add nekobot-apiExample Usage
const { NekoBot } = require("nekobot-api");
const nekobotapi = new NekoBot();
async function run() {
let image = await nekobotapi.magikImage("https://urimageurl.com");
console.log(image);
}
run();Docs
The parameters on the methods are same as in the NekoBot API documentation.