# catdown-title

> Catdown plugin. Extracts the first `h1` element and emits a "title" event with its value on every change.

Latest version **1.0.0** (published 2015-02-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install catdown-title
pnpm add catdown-title
yarn add catdown-title
bun add catdown-title
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2015-02-10 |
| First published | 2015-02-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Richard Foster |
| Maintainers | zuren |
| Keywords | catdown, markdown, header, event |

## Links

- npm: https://www.npmjs.com/package/catdown-title
- Repository: https://github.com/zuren/catdown-title
- Issues: https://github.com/zuren/catdown-title/issues
- npm.io page: https://npm.io/package/catdown-title

## Alternatives

- [async-exit-hook](https://npm.io/package/async-exit-hook.md) — 3.7M weekly downloads
- [evnty](https://npm.io/package/evnty.md) — 7.2K weekly downloads
- [eleventy-plugin-asciidoc](https://npm.io/package/eleventy-plugin-asciidoc.md) — 3.5K weekly downloads
- [@jswork/next-get2get](https://npm.io/package/@jswork/next-get2get.md) — 945 weekly downloads
- [@dashersw/axon](https://npm.io/package/@dashersw/axon.md) — 934 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2015-02-10

## README

# catdown-title

Catdown plugin. Extracts the first `h1` element on render, and emits a "title" event with its value on every change.

## Usage

Install with `npm`.

```bash
$ npm install --save catdown-title
```

`use` it on your Catdown editor.

```js
editor.use(require("catdown-title"));
```

Bind up.

```js
editor.on("title", function(title){
	document.title = title;
});
```

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