# cl-dom

> dom handle

Latest version **1.0.0** (published 2015-06-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install cl-dom
pnpm add cl-dom
yarn add cl-dom
bun add cl-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 | 1.0.0 |
| Published | 2015-06-17 |
| First published | 2015-06-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | VI |
| Maintainers | viwayne |
| Keywords | dom, handle |

## Links

- npm: https://www.npmjs.com/package/cl-dom
- Repository: https://github.com/devWayne/Dom
- Issues: https://github.com/devWayne/Dom/issues
- npm.io page: https://npm.io/package/cl-dom

## 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

- 1.0.0 (latest) — 2015-06-17

## README

Dom [![Build Status](https://travis-ci.org/devWayne/Dom.svg?branch=master)](https://travis-ci.org/devWayne/Dom)
============
> Dom Handler 

##Usage

```
var Dom = require('cl-com').Dom;

var htmlMutiple = '<div class="confirm_alert"><div class="alert_content">测试弹窗</div><div class="alert_buttons"><a data-id="cancel">确定</a><a data-id="done">取消</a></div></div>'

var htmlSingle = '<a data-id="done" style="color: rgb(0, 136, 204); float: left; width: 50%; height: 100%; box-sizing: border-box; border-left-style: solid; border-left-width: 1px; border-left-color: rgb(239, 239, 239); text-decoration: none;">取消</a>'

var el1 = Dom.parse(htmlMutiple);
var el2 = Dom.parse(htmlSingle);
```

##API

#### Dom.parse(String)

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