waifur

1.0.3 • Public • Published

npm npm install size

NPM

WaifuR

Installation

npm i waifur

Get a random waifu from MyWaifuList

Examples

Await/Async example

const { waifuR } = require('waifur')

async function test() {
    await waifuR(res => {
        console.log(res)
    });
}
      
test();

returns:

{
  alternate_name: '',
  name: 'Leia',
  romaji_name: '',
  origin: '',
  age: '0',
  birthday: '',
  height: '',
  weight: '',
  blood_type: '',
  bust: '',
  waist: '',
  hip: '',
  description: 'Leia is an employee at the Pink Lady Cafe in Valentine Panic.',
  appears_in: 'Valentine Panic',
  background_image: 'https://thicc.mywaifulist.moe/waifus/16579/81fd469d2c141eba5575cb862ed79f716161f30303ef14efcee7904309d0811f_thumb.png'
}

NOTES

  • When the data contains 'null', it means that it can't find data for that property.

Package Sidebar

Install

npm i waifur

Weekly Downloads

0

Version

1.0.3

License

ISC

Unpacked Size

8.02 kB

Total Files

3

Last publish

Collaborators

  • hk420