4.0.0 • Published 22 days ago

@financial-times/n-map-content-to-topper v4.0.0

Weekly downloads
458
License
MIT
Repository
github
Last release
22 days ago

n-map-content-to-topper

CircleCI

A library for mapping content to a topper on FT.com and the App.

Table of Contents

Requirements

Installation

git clone https://github.com/Financial-Times/n-map-content-to-topper.git
cd n-map-content-to-topper
make .env
make install

Development

Testing

In order to run the tests locally you'll need to run:

make test

Install from NPM

npm install @financial-times/n-map-content-to-topper

Usage

const { mapContentToTopper } = require('@financial-times/n-map-content-to-topper');

const topper = mapContentToTopper(content, flags);

Release Process

The project is released automatically to npm via Github Releases. Create a release, and name the tag with the Semantic Versioning version you want. The CircleCI build for the tag will release that version to npm.

4.0.0

22 days ago

3.4.0

1 year ago

3.4.2

1 year ago

3.4.1

1 year ago

3.3.0

1 year ago

3.2.0

1 year ago

3.0.0

1 year ago

2.2.2

1 year ago

2.2.1

2 years ago

2.2.0

2 years ago

2.1.0

2 years ago

2.0.0

2 years ago

1.6.0

2 years ago

1.5.0

2 years ago

1.4.0

3 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago