# html-message

> Simple components for displaying html emails

Latest version **0.0.2** (published 2019-11-05) · MIT license · 0 weekly downloads

## Install

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

## 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.2 |
| Published | 2019-11-05 |
| First published | 2019-10-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 133.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Wojciec Parys |
| Maintainers | wojtek1150 |
| Keywords | angular, html, email |

## Links

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

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2019-11-05
- 0.0.1 — 2019-10-31

## README

# HtmlMessage

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.0.3.

## Usage

For displaying message simply use

```<lib-html-message [message]="htmlEmailBody"></lib-html-message>```

For displaying preview (in text) you can use

```<lib-html-message-preview [message]="htmlEmailBody" [length]="maxCharLenght"></lib-html-message-preview>```

## Code scaffolding

Run `ng generate component component-name --project html-message` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project html-message`.
> Note: Don't forget to add `--project html-message` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build html-message` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build html-message`, go to the dist folder `cd dist/html-message` and run `npm publish`.

## Running unit tests

Run `ng test html-message` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).

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