# random-images

> You can use it to generate many random images

Latest version **1.0.0** (published 2019-03-13) · ISC license · 0 weekly downloads

## Install

```sh
npm install random-images
pnpm add random-images
yarn add random-images
bun add random-images
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-03-13 |
| First published | 2019-03-13 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | jack |
| Maintainers | lidingding |

## Links

- npm: https://www.npmjs.com/package/random-images
- npm.io page: https://npm.io/package/random-images

## Recent versions

- 1.0.0 (latest) — 2019-03-13

## README

## random with imgage

* effect
  * You can use it to generate many random images，Just for testing
* use
  * first, install it
  ``` node
  npm install --save -dev random-images
  ```
  * and then
  ```
  import randomImages from 'random-images'
  randomImages.init(num)
  ```
  > You just need to pass in the image nums
  * last, it will return you an array of image paths
  ```
  ['http://images/1.jpg', 'http://images/2.jpg', ...]
  ```

* 作用
  * 你可以使用它生成一段随机的图片路径用来渲染，可以作为测试使用
* 使用
  * 首先，npm安装它
  ``` node
  npm install --save -dev random-images
  ```
  * 然后，引入并使用
  ```
  import randomImages from 'random-images'
  randomImages.init(num)
  ```
  > 你只需要传入所需要的图片数量
  * 最后，它将返回一段图片路径组成的数组
  ```
  ['http://images/1.jpg', 'http://images/2.jpg', ...]
  ```

---
_Source: https://npm.io/package/random-images · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
