# @44north/blog-utilities

> [![44 North](https://res.cloudinary.com/fortyfournorth/image/upload/v1644103323/44North/ReadmeFileBanner_ixvgvr.jpg)](https://fortyfournorth.ca)

Latest version **0.4.3** (published 2022-07-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install @44north/blog-utilities
pnpm add @44north/blog-utilities
yarn add @44north/blog-utilities
bun add @44north/blog-utilities
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.4.3 |
| Published | 2022-07-06 |
| First published | 2021-11-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 28 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | cvachon44n |

## Links

- npm: https://www.npmjs.com/package/@44north/blog-utilities
- Repository: https://github.com/fortyfournorth/modules
- Issues: https://github.com/fortyfournorth/modules/issues
- npm.io page: https://npm.io/package/@44north/blog-utilities

## Dependencies (8)

- [@tiptap/html](https://npm.io/package/@tiptap/html.md) ^2.0.0-beta.142
- [@tiptap/starter-kit](https://npm.io/package/@tiptap/starter-kit.md) ^2.0.0-beta.145
- [@tiptap/extension-link](https://npm.io/package/@tiptap/extension-link.md) ^2.0.0-beta.28
- [@tiptap/extension-color](https://npm.io/package/@tiptap/extension-color.md) ^2.0.0-beta.9
- [@tiptap/extension-image](https://npm.io/package/@tiptap/extension-image.md) ^2.0.0-beta.24
- [@tiptap/extension-underline](https://npm.io/package/@tiptap/extension-underline.md) ^2.0.0-beta.21
- [@tiptap/extension-text-align](https://npm.io/package/@tiptap/extension-text-align.md) ^2.0.0-beta.28
- [@tiptap/extension-text-style](https://npm.io/package/@tiptap/extension-text-style.md) ^2.0.0-beta.22

## Recent versions

- 0.4.3 (latest) — 2022-07-06
- 0.4.2 — 2021-12-16
- 0.4.1 — 2021-12-15
- 0.4.0 — 2021-12-06
- 0.3.0 — 2021-12-02
- 0.2.0 — 2021-11-30
- 0.1.0 — 2021-11-29

## README

[![44 North](https://res.cloudinary.com/fortyfournorth/image/upload/v1644103323/44North/ReadmeFileBanner_ixvgvr.jpg)](https://fortyfournorth.ca)

# @44north/blog-utilities

A Module containing a number of small utilities to use when working with blogs.

## Install

```
npm install @44north/blog-utilities
```

or

```
yarn add @44north/blog-utilities
```

## generateHtmlFromJson

```js
import { generateHtmlFromJson } from "@44north/blog-utilities";

const testJson = {
    type: "doc",
    content: [
        {
            type: "paragraph",
            content: [
                {
                    type: "text",
                    text: "Example "
                },
                {
                    type: "text",
                    marks: [
                        {
                            type: "bold"
                        }
                    ],
                    text: "Text"
                }
            ]
        }
    ]
};

console.log(generateHtmlFromJson(testJson)); // -> <p>Example <strong>Text</strong></p>
```

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