# html-stringify

> Converts Javascript Objects or Arrays to pretty HTML string for rendering in a browser

Latest version **0.0.3** (published 2015-03-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install html-stringify
pnpm add html-stringify
yarn add html-stringify
bun add html-stringify
```

## 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 | 2015-03-16 |
| First published | 2013-09-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 14 |
| Author | Jed Watson |
| Maintainers | jedwatson |
| Keywords | json, stringify, pretty, debug, html |

## Links

- npm: https://www.npmjs.com/package/html-stringify
- Repository: https://github.com/JedWatson/html-stringify
- Issues: https://github.com/JedWatson/html-stringify/issues
- npm.io page: https://npm.io/package/html-stringify

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.0.3 (latest) — 2015-03-16
- 0.0.2 — 2014-06-28
- 0.0.1 — 2013-09-12

## README

html-stringify
================

Converts Javascript Objects or Arrays to pretty HTML string for rendering in a browser.

## Usage

Available as an npm module:

`npm install html-stringify`

Then:

    var htmlStringify = require('html-stringify');
    
    var myObj = {
      str: 'It formats strings, numbers, booleans and dates',
      bool: true,
      date: new Date(),
      num: 42,
      arr: [
        'And nested arrays / objects',
        {
          key: 'value'
        }
      ]
    };
    
    var output = htmlStringify(myObj);
    
For a client-side implementation, see [react-domify](https://github.com/JedWatson/react-domify)

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