New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

anime-wallpaper

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anime-wallpaper

Get Anime wallpapers based on scrapping from websites.

  • 1.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5.6K
decreased by-35.76%
Maintainers
1
Weekly downloads
 
Created
Source

Anime Wallpaper

Get Anime wallpapers based on scrapping from websites.

  • Alphacoders
  • Wallpaper Cave *Not working
  • 4K Wallpapers
  • Wall Haven

Version

Documentation

Example Usage

  • Getting Wallpaper from Alphacoders (dynamic)
const { AnimeWallpaper } = require("anime-wallpaper");
const wall = new AnimeWallpaper();

async function Wallpaper1() {
    const wallpaper = await wall.getAnimeWall1({ search: "to love ru", page: 1 })
    return console.log(wallpaper)
}

Wallpaper1() 
async function Wallpaper2() {
    const wallpaper = await wall.getAnimeWall2("keqing")
    return console.log(wallpaper)
}

Wallpaper2()
async function Wallpaper3() {
    const wallpaper = await wall.getAnimeWall3()
    return console.log(wallpaper)
}

Wallpaper3()
async function Wallpaper4() {
    const wallpaper = await wall.getAnimeWall4({ title: "anime romance", type: "sfw", page: 1 })
    return console.log(wallpaper)
}

Wallpaper4()
  • Getting Wallpaper from ZeroChan (dynamic)
async function Wallpaper5() {
    const wallpaper = await wall.getAnimeWall5("Makima")
    return console.log(wallpaper)
}

Wallpaper5()

IMPORTANT!!!!

Nb: function which has dynamic tag sometimes image url doesn't load or render because it's a dynamic website, you can re-fetch again to get image url


© Aizuu

Keywords

FAQs

Package last updated on 10 Aug 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc