Skip to content

Oblvnn/node-weeb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Feature-rich weeb wrapper by Oblivion さん

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