# whatsup-document-title

> Page title manager for whatsup

Latest version **0.1.3** (published 2021-02-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install whatsup-document-title
pnpm add whatsup-document-title
yarn add whatsup-document-title
bun add whatsup-document-title
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2021-02-09 |
| First published | 2021-02-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 8.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | André Lins |
| Maintainers | andrelmlins |
| Keywords | whatsup, document, title |

## Links

- npm: https://www.npmjs.com/package/whatsup-document-title
- Repository: https://github.com/andrelmlins/whatsup-document-title
- Issues: https://github.com/andrelmlins/whatsup-document-title/issues
- npm.io page: https://npm.io/package/whatsup-document-title

## Alternatives

- [@cantoo/pdf-lib](https://npm.io/package/@cantoo/pdf-lib.md) — 297.9K weekly downloads
- [datatables.net-buttons](https://npm.io/package/datatables.net-buttons.md) — 200.1K weekly downloads
- [@ckeditor/ckeditor5-export-pdf](https://npm.io/package/@ckeditor/ckeditor5-export-pdf.md) — 167.0K weekly downloads
- [scanbot-web-sdk](https://npm.io/package/scanbot-web-sdk.md) — 15.0K weekly downloads
- [@syncfusion/ej2-angular-pdfviewer](https://npm.io/package/@syncfusion/ej2-angular-pdfviewer.md) — 8.8K weekly downloads

## Recent versions

- 0.1.3 (latest) — 2021-02-09
- 0.1.2 — 2021-02-05
- 0.1.1 — 2021-02-05
- 0.1.0 — 2021-02-03

## README

# Whatsup Document Title

[![npm version](https://badge.fury.io/js/whatsup-document-title.svg)](https://www.npmjs.com/package/whatsup-document-title) &bull; [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/andrelmlins/whatsup-document-title/blob/master/LICENSE) &bull; [![Node.js CI](https://github.com/andrelmlins/whatsup-document-title/workflows/Node.js%20CI/badge.svg)](https://github.com/andrelmlins/whatsup-document-title/actions?query=workflow%3A%22Node.js+CI%22)

Page title manager for whatsup.

## Installation

```
npm i whatsup-document-title
// OR
yarn add whatsup-document-title
```

## Demo

Local demo:

```
git clone https://github.com/andrelmlins/whatsup-document-title.git
cd whatsup-document-title
npm install && npm rum dev
```

## Examples

An example of how to use the library:

```tsx
import { Fractal, conse } from 'whatsup';
import WhatsupDocumentTitle from 'whatsup-document-title';

export class App extends Fractal<JSX.Element> {
  readonly title = conse('Page title');

  *whatsUp() {
    while (true) {
      yield (
        <>
          <WhatsupDocumentTitle title={yield* this.title}>
            <input
              value={yield* this.title}
              onInput={(e) => this.title.set(e.target.value)}
            />
          </WhatsupDocumentTitle>
        </>
      );
    }
  }
}
```

## Properties

Component props:

| Prop  | Type   | Description               |
| ----- | ------ | ------------------------- |
| title | string | Title showing in document |

## NPM Statistics

Download stats for this NPM package

[![NPM](https://nodei.co/npm/whatsup-document-title.png)](https://nodei.co/npm/whatsup-document-title/)

## License

Whatsup Document Title is open source software [licensed as MIT](https://github.com/andrelmlins/whatsup-document-title/blob/master/LICENSE).

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