4.0.6 • Published 4 years ago

random-picture v4.0.6

Weekly downloads
28
License
ISC
Repository
gitlab
Last release
4 years ago

Random picture

Testing Status Badge

NPM package: https://www.npmjs.com/package/random-picture

Git repo: https://gitlab.com/ap3k/node_modules/random-picture

Installation

With NPM

npm install random-picture --save

With Yarn

yarn add random-picture

Usage

Read the Source Luke!

Get random image

const { RandomPicture } = require('random-picture')

const image = await randomPicture()
// image
interface ImageObject {
  url: string
  author?: string
  width?: number
  height?: number
}
// Example
// {
//   url: 'https://picsum.photos/id/827/3695/5543.jpg',
//   author: 'kazuend',
//   width: 3695,
//   height: 5543
// }
4.0.5

4 years ago

4.0.6

4 years ago

4.0.4

4 years ago

4.0.3

5 years ago

4.0.2

5 years ago

4.0.1

5 years ago

3.1.3

5 years ago

3.1.2

5 years ago

3.1.5

5 years ago

3.1.4

5 years ago

4.0.0

5 years ago

3.1.1

6 years ago

3.1.0

6 years ago

3.0.0

6 years ago

2.0.0

6 years ago

1.0.0

6 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago