Skip to content

Waifu-pics/waifu.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

banner

Official minimal JavaScript wrapper for waifu.pics. Refer to the docs for available endpoints currently in the API

Installation

npm i -s waifu.js

Example

const client = require('waifu.js')

let api = new client()

async function hello() {
  console.log(await api.sfw.waifu());
}

hello()

This returns an image URL as such:

https://i.waifu.pics/P817hp4.jpg

About

Waifu.pics JavaScript wrapper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published