
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
Package of utils to get bing daily wallpaper and set it as wallpaper to your PC.
$ npm install --save bingpaper
//only for CommonJS
//create test.js
const bingUtils = require('bingpaper');
bingUtils.setWallpaper();
//in terminal
node test
and you will find your wallpaper on desktop changed to lastest bing wallpaper.
the picture is stored in C:\Users\Administrator\Pictures in default
here, I offer some useful utils for you.
bingUtils.featchPicInfo(options, callback)| parameters | type | required | default | others |
|---|---|---|---|---|
| options | Object | No | {} | for options parameters |
| options.n | Number | No | 1 | maximum is 7,download numbers of pictures |
| options.format | String | No | 'js' | request format, don't change |
| options.ids | number | No | 0 | I don't know, don't change |
| callback | Function | Yes | default contains image info, type of this parameter is Array |
bingUtils.featchPicURLs(options, callback)| parameters | type | required | default | others |
|---|---|---|---|---|
| options | Object | No | {} | for options parameters |
| options.n | Number | No | 1 | maximum is 7,download numbers of pictures |
| options.format | String | No | 'js' | request format, don't change |
| options.ids | number | No | 0 | I don't know, don't change |
| callback | Function | Yes | default contains urls, type of this parameter is Object |
bingUtils.downloadPic(url, options, callback)| parameters | type | required | default | others |
|---|---|---|---|---|
| url | String | Yes | a url to download a picture | |
| options | Object | No | {} | for options parameters |
| options.name | String | No | date of this day | give a name for your picture |
| options.path | String | No | C:\Users\Administrator\Pictures | where you save your picture |
| callback | Function | Yes | when you finish download your picture |
bingUtils.setWallpaper()FAQs
tool for dowmload bing wallpaper
We found that bingpaper demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.