# ft-n-article-branding

> v2 and upwards is based on V3 ES article annotations.

Latest version **4.0.2** (published 2017-11-07) · 0 weekly downloads

## Install

```sh
npm install ft-n-article-branding
pnpm add ft-n-article-branding
yarn add ft-n-article-branding
bun add ft-n-article-branding
```

## 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 | 4.0.2 |
| Published | 2017-11-07 |
| First published | 2015-08-10 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | the-ft |

## Links

- npm: https://www.npmjs.com/package/ft-n-article-branding
- npm.io page: https://npm.io/package/ft-n-article-branding

## Dependencies (1)

- [diacritics](https://npm.io/package/diacritics.md) ^1.2.3

## Recent versions

- 4.0.2 (latest) — 2017-11-07
- 4.0.1 — 2017-06-20
- 4.0.0 — 2017-06-01
- 4.0.0-beta.1 — 2017-05-22
- 3.2.0 — 2016-11-23
- 3.1.4 — 2016-11-16
- 3.1.1 — 2016-11-10
- 3.0.7 — 2016-10-06
- 3.0.6 — 2016-05-25
- 3.0.5 — 2016-05-05
- 3.0.4 — 2016-03-17
- 3.0.3 — 2016-02-18
- 3.0.2 — 2015-11-25
- 3.0.1 — 2015-11-06
- 3.0.0 — 2015-11-06
- … 1 more at https://npm.io/package/ft-n-article-branding/versions

## README

# n-article-branding [![Circle CI](https://circleci.com/gh/Financial-Times/n-article-branding/tree/master.svg?style=svg)](https://circleci.com/gh/Financial-Times/n-article-branding/tree/master)

v2 and upwards is based on V3 ES article annotations.

Returns an annotation that  corresponds to the brand according to these rules;

1. Brand, if;
	- has a brand tag

2. Author, if;
	- has an author tag and
	- genre = Comment and
		does not have a brand tag that is not the author

Returned tag is decorated with additional headshot value (it's url) if branding
is columnist and there is a headshot for that columnist (set in next-es-interface).

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