# rand-dom

> Get random DOM elements!

Latest version **2.0.0** (published 2015-01-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install rand-dom
pnpm add rand-dom
yarn add rand-dom
bun add rand-dom
```

## 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 | 2.0.0 |
| Published | 2015-01-30 |
| First published | 2015-01-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Hemanth.HM |
| Maintainers | hemanth |
| Keywords | dom |

## Links

- npm: https://www.npmjs.com/package/rand-dom
- Repository: git@github.com:hemanth/rand-dom
- Homepage: https://github.com/hemanth/rand-dom
- Issues: https://github.com/hemanth/rand-dom/issues
- npm.io page: https://npm.io/package/rand-dom

## Dependencies (5)

- [pickrand](https://npm.io/package/pickrand.md) 0.0.2
- [new-element](https://npm.io/package/new-element.md) 0.0.2
- [void-elements](https://npm.io/package/void-elements.md) ^2.0.1
- [block-elements](https://npm.io/package/block-elements.md) ^1.0.0
- [inline-elements](https://npm.io/package/inline-elements.md) ^1.0.0

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2015-01-30
- 1.0.0 — 2015-01-30

## README

## rand-dom

> Gives you a rand-dom.

```js
var randDom = require('rand-dom');
randDom.elm.innerHTML = `I'm a ${randDom}.tag`;
// Can decide your logic based on the tag.
document.body.appendChild(randDom.elm);
```
## API

*Basically it returns you an object that contains:*

```js
{
  elm // Random element that was created.
  tag // HTML Tag
}
```

## Install

```bash
$ npm install --save rand-dom
```

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