New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

desktop-wallpaper

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

desktop-wallpaper

Using the COM API of Windows to configure wallpaper settings.

latest
Source
npmnpm
Version
1.0.8
Version published
Weekly downloads
25
525%
Maintainers
1
Weekly downloads
 
Created
Source

Desktop Wallpaper (✨)

using the COM API of Windows to configure wallpaper settings. Require Win8+.

license npm downloads star issues

Features (⭐)

  • set slide show

Getting Started (✅)

  • Installation (⏬)

    • npm install desktop-wallpaper --save
  • Usage (⚡)

    import {setWallpaper, getWallpaper, setPosition, getPosition, getBackgroundColor, setBackgroundColor} from "desktop-wallpaper";
    // or
    const {setWallpaper, getWallpaper, setPosition, getPosition, getBackgroundColor, setBackgroundColor} = require("desktop-wallpaper");
    
    setWallpaper(0, "../../assets/demo.jpg")
    console.log(getWallpaper(0))
    setPosition(3)
    console.log(getPosition())
    setBackgroundColor(255,255,255)
    console.log(getBackgroundColor())
    

The End (💘)

Keywords

wallpaper

FAQs

Package last updated on 16 May 2024

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