# doz-metatag

> Inject meta tag in document from Doz app

Latest version **1.1.3** (published 2021-08-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install doz-metatag
pnpm add doz-metatag
yarn add doz-metatag
bun add doz-metatag
```

## 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.1.3 |
| Published | 2021-08-20 |
| First published | 2018-09-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 12 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Fabio Ricali |
| Maintainers | fabioricali |
| Keywords | meta, tag, metatag, doz, inject, prenrender |

## Links

- npm: https://www.npmjs.com/package/doz-metatag
- Repository: https://github.com/dozjs/doz-metatag
- Homepage: https://github.com/dozjs/doz-metatag#readme
- Issues: https://github.com/dozjs/doz-metatag/issues
- npm.io page: https://npm.io/package/doz-metatag

## Dependencies (1)

- [metaset](https://npm.io/package/metaset.md) ^2.0.1

## Alternatives

- [@lexical/table](https://npm.io/package/@lexical/table.md) — 3.0M weekly downloads
- [mantine-datatable](https://npm.io/package/mantine-datatable.md) — 98.2K weekly downloads
- [react-native-collapsible-tab-view](https://npm.io/package/react-native-collapsible-tab-view.md) — 70.6K weekly downloads
- [@handsontable/vue3](https://npm.io/package/@handsontable/vue3.md) — 16.1K weekly downloads
- [vuewordcloud](https://npm.io/package/vuewordcloud.md) — 7.2K weekly downloads

## Recent versions

- 1.1.3 (latest) — 2021-08-20
- 1.1.2 — 2021-08-20
- 1.1.1 — 2019-03-28
- 1.1.0 — 2019-03-28
- 1.0.0 — 2018-09-26

## README

# doz-metatag

> This plugin provides a function for managing basic og meta tag in your HTML document

<a href="https://travis-ci.org/dozjs/doz-metatag" target="_blank"><img src="https://travis-ci.org/dozjs/doz-metatag.svg?branch=master" title="Build Status"/></a>
<a href="https://opensource.org/licenses/MIT" target="_blank"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" title="License: MIT"/></a>

## Installation
```
npm install --save doz-metatag
```

## Usage
```js
import metaTag from 'doz-metatag'
import Doz from 'doz'

// Load plugin and set default values
Doz.use(metaTag, {
    title: 'A title',
    type: 'website',
    description: 'A description',
    url: 'http://lorem.com',
    siteName: 'Lorem.com',
    locale: 'en_US',
    image: 'an-image.jpg',
    selfWindow: window
})

new Doz({
    /* ... */
    onMount() {
        this.metaTag({
            title: 'New title',
            description: 'New description',
            image: 'new-image.jpg'
        });
    }
});
```

## Changelog
You can view the changelog <a target="_blank" href="https://github.com/dozjs/doz-metatag/blob/master/CHANGELOG.md">here</a>

## License
doz-metatag is open-sourced software licensed under the <a target="_blank" href="http://opensource.org/licenses/MIT">MIT license</a>

## Author
<a target="_blank" href="http://rica.li">Fabio Ricali</a>

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