# baugruppe

> baugruppe is a tool for building html elements in javascript

Latest version **1.0.5** (published 2021-10-30) · MIT license · 0 weekly downloads

## Install

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

## 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.5 |
| Published | 2021-10-30 |
| First published | 2021-10-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Eli_Xi |
| Maintainers | eli_xi |

## Links

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

## Recent versions

- 1.0.5 (latest) — 2021-10-30
- 1.0.4 — 2021-10-30
- 1.0.3 — 2021-10-28
- 1.0.2 — 2021-10-28
- 1.0.1 — 2021-10-28
- 1.0.0 — 2021-10-28

## README

Baugruppe is a tool for building html elements in javascript

# Example

```
import baugruppe from 'baugruppe'

// this will create a div with '.example' class
function buildExampleComponent() {
    return baugruppe.build('div', '.example')
}

// this will create a div with children
function buildAnotherExampleComponent() {
    const childOne = baugruppe.build('p', '.title')
    const childTwo = baugruppe.build('p', '.content')
    return baugruppe.build('div', '.anotherExample', [childOne, childTwo])
    // if only need one child to append
    // return baugruppe.build('div', '.anotherExample', childOne)
}

document.body.appendChild(buildExampleComponent())
```

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