# nodeelement

> Simple mini-library which is provide emulation of some behaviors of the HTMLElement object

Latest version **1.2.1** (published 2017-04-30) · MIT License license · 0 weekly downloads

## Install

```sh
npm install nodeelement
pnpm add nodeelement
yarn add nodeelement
bun add nodeelement
```

## 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.2.1 |
| Published | 2017-04-30 |
| First published | 2017-04-14 |
| Weekly downloads | 0 |
| License | MIT License |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | kurz |

## Links

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

## Recent versions

- 1.2.1 (latest) — 2017-04-30
- 1.2.0 — 2017-04-21
- 1.1.0 — 2017-04-14

## README

# NodeElement

Simple mini-library which is provide emulation of some behaviors of the HTMLElement object

## Examples

Append new child:

```javascript
var root = new NodeElement();
root.appendChild(new NodeElement());
root.appendChild(new NodeElement());
/* And so on... */
```

Remove child:

```javascript
var root = new NodeElement();
var node = new NodeElement();

root.appendChild(node);
/* ... */
// root.removeChild(node);
// or
// node.parentNode.removeChild(node);
```

Deep cloning:

```javascript
var root = new NodeElement();
root.appendChild(new NodeElement());
root.appendChild(new NodeElement());

var clonedRoot = root.cloneNode(true); // full copy of the root variable.
```

## Browser Capability

Should work well on all modern browsers, e.g. IE11 >=

## Dependencies

No exernal dependencies / third-party libs at all!

## Feedback

For any questions/propositions/e.t.c you can contact me at <kurzgame@gmail.com>

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