node-weeb
v1.0.4
Published
A Feature-rich weeb wrapper.
Downloads
23
Maintainers
Readme
Features
- Lightweight.
- Kitsu anime & manga search functions.
- Random action images from Weebs.CF
- Neko.Life search functions
How to install
- install Node.JS
npm install -i node-weeb
Example
const weeb = require('node-weeb');
weeb.anime('bleach').then(res => {
var data = JSON.parse(res).data[0];.
console.log(data.attributes.titles.en);
console.log(data.id);
console.log(data.attributes.synopsis);
});
weeb.manga('rosario vampire').then(res => {
var data = JSON.parse(res).data[0];
console.log(data.attributes.titles.en);
console.log(data.id);
console.log(data.attributes.synopsis);
});
weeb.random('hug').then(res => {
console.log(res);
});
weeb.nekoLife('fact').then(res => {
var data = JSON.parse(res).fact;
console.log(data);
});
Author
- OblivionSan - @OblivionSan | Discord | Website