# tdstruct

> Utility for tripledollar structure

Latest version **0.1.1** (published 2016-03-23) · MIT license · 0 weekly downloads

## Install

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

## 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.1.1 |
| Published | 2016-03-23 |
| First published | 2016-03-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | steenk |
| Maintainers | steenk |

## Links

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

## Recent versions

- 0.1.1 (latest) — 2016-03-23
- 0.1.0 — 2016-03-23

## README

# TDStruct

TDStruct comes from Tripledollar and is pure JavaScript structure to build DOM elements. This module is a utility for Node.js to create HTML documents from tdstructs. The definition fo tdstruct can be found [here](http://tripledollar.net/tdstruct/index.html). To use this utility install it with:

```
npm install tdstruct
```

Then use it in your code.

```js
var tdstruct = require('tdstruct');

var tds = ['html',
  ['head',
    ['title', 'Test TDStruct']
  ],
  ['body',
    ['img', {src: 'https://steenk.github.io/images/logo.png'}]
  ]
];

console.log(tdstruct.toHtml(td));
```

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