# @cheapsteak/css-inline-wasm

> A WASM package for inlining CSS into HTML documents

Latest version **0.4.2** (published 2020-07-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install @cheapsteak/css-inline-wasm
pnpm add @cheapsteak/css-inline-wasm
yarn add @cheapsteak/css-inline-wasm
bun add @cheapsteak/css-inline-wasm
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high maintenance score.

Warnings: low downloads; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.4.2 |
| Published | 2020-07-16 |
| First published | 2020-07-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 832.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 320 |
| Maintainers | cheapsteak |

## Links

- npm: https://www.npmjs.com/package/@cheapsteak/css-inline-wasm
- Repository: https://github.com/Stranger6667/css-inline
- Homepage: https://github.com/Stranger6667/css-inline#readme
- Issues: https://github.com/Stranger6667/css-inline/issues
- npm.io page: https://npm.io/package/@cheapsteak/css-inline-wasm

## Recent versions

- 0.4.2 (latest) — 2020-07-16
- 0.4.1 — 2020-07-15
- 0.0.1-alpha.1 — 2020-07-12
- 0.0.1-alpha.0 — 2020-07-12
- 0.0.1 — 2020-07-12

## README

# css-inline

[![ci](https://github.com/Stranger6667/css-inline/workflows/ci/badge.svg)](https://github.com/Stranger6667/css-inline/actions)

A WASM package for inlining CSS into HTML documents.

```typescript
import { inline } from "css_inline";

var inlined = inline(
  "<html><head><title>Test</title><style>h1 { color:red; }</style></head><body><h1>Test</h1></body></html>",
  { remove_style_tags: true }
)
// Do something with the inlined HTML, e.g. send an email
```

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