
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
wallpaper-engine-api
Advanced tools
A nodejs wrapper to control your wallpaper engine backgrounds
npm i wallpaper-engine-api
Import it:
import { WallpaperEngineApi } from 'wallpaper-engine-api'
// or:
const { WallpaperEngineApi } = require('wallpaper-engine-api')
Initialize the Api like this:
// First argument is path to the wallpaper engine install directory, defaults to: "C:\Program Files (x86)\Steam\steamapps\common\wallpaper_engine"
// Second argument is path to wallpaper folder, defaults to: "C:\Program Files (x86)\Steam\steamapps\workshop\content\431960"
// Third argument enables debug logging, defaults to false
// All arguments are optional!
const WE = new WallpaperEngineApi(undefined, undefined, true)
Now you can control your desktop like this:
WE.desktop().hideIcons()
await sleep(2000)
WE.desktop().showIcons()
WE.controls().mute()
WE.controls().unmute()
WE.controls().pause()
await sleep(3000)
WE.controls().play()
await sleep(2000)
WE.controls().stop()
await sleep(2000)
WE.controls().play()
await sleep(1000)
const wallpapers = await WE.listWallpapers()
const profiles = await WE.listProfiles()
// console.log(wallpapers)
// console.log(profiles)
// console.log(await WE.getConfig())
const currentWallpaper = await WE.wallpaper().current()
// console.log(currentWallpaper)
for (const profile of profiles) {
await WE.profile().load(profile)
await sleep(2000)
}
await WE.wallpaper().load(currentWallpaper.id)
await sleep(1000)
// Properties
await WE.wallpaper().applyProperties(currentWallpaper.properties)
Note: For compatibility with the api of the wallpaper-engine-api-remote package all methods are asynchronous even if they wouldn't require it.
FAQs
A nodejs wrapper to control your wallpaper engine backgrounds
We found that wallpaper-engine-api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.