# element-mold

> A collection of simple HTML/SVG Element generation functions. Supports typescript!

Latest version **0.0.3** (published 2022-02-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install element-mold
pnpm add element-mold
yarn add element-mold
bun add element-mold
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2022-02-23 |
| First published | 2021-06-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 28.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | lowfront |
| Maintainers | lowfront |
| Keywords | element, dsl, dom, html, svg, tag, attribute, style |

## Links

- npm: https://www.npmjs.com/package/element-mold
- Homepage: https://github.com/lowfront/element-mold
- Issues: https://github.com/lowfront/element-mold/issues
- npm.io page: https://npm.io/package/element-mold

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2022-02-23
- 0.0.2 — 2021-06-15
- 0.0.1 — 2021-06-15

## README

# Element mold
A collection of simple HTML/SVG Element generation functions. Supports typescript!

## example
```js
import {section, h1, div, span, b} from 'element-mold/dist/html';

let ref1, ref2;
const refSection = section({className: 'container'}, [
  ref1 = h1('Heading Text'), 
  ref2 = div({className: 'container-body'}, [
    'test',
    span({}, [
      ' text',
      b('bold'),
      ' text',
    ]),
  ]),
]);

console.log(refSection, ref1, ref2);
```

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