Skip to content

Latest commit

 

History

History
47 lines (39 loc) · 1.23 KB

README.md

File metadata and controls

47 lines (39 loc) · 1.23 KB

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