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