node-weeb

1.0.4 • Public • Published

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

/node-weeb/

    Package Sidebar

    Install

    npm i node-weeb

    Weekly Downloads

    4

    Version

    1.0.4

    License

    GPL-3.0

    Unpacked Size

    3.11 kB

    Total Files

    3

    Last publish

    Collaborators

    • oblivionsan