lorem-picsum-wallpaper
v1.4.0
Published
Lorem Ipsum... but for wallpapers
Downloads
36
Maintainers
Readme
lorem-picsum-wallpaper
Lorem Ipsum... but for wallpapers
Install
npm install --save lorem-picsum-wallpaper
Usage
const loremPicsum = require('lorem-picsum-wallpaper');
const path = require('path');
const options = {
width: 1920,
height: 1080
};
loremPicsum(options).then(() => console.log('done!'));
API
loremPicsum(options)
Returns a Promise<void>
.
options
Type: object
dir
Type: string
Default: <__dirname>/.wallpaper
width
Type: int
Default: 1920
height
Type: int
Default: 1080
Related
License
MIT © Patrick Tone