UNPKG

@botonic/plugin-contentful

Version:

Botonic Plugin Contentful is one of the **[available](https://github.com/hubtype/botonic/tree/master/packages)** plugins for Botonic. **[Contentful](http://www.contentful.com)** is a CMS (Content Management System) which manages contents of a great variet

20 lines (19 loc) 627 B
import { CMS } from '../cms'; import { Keyword, Locale, Normalizer } from '../nlp'; export declare class StemmedKeyword { readonly rawKeyword: string; readonly stemmedKeyword: string[]; constructor(rawKeyword: string, stemmedKeyword: string[]); toString(): string; } /** * Reports all the contents's stemmed keywords. * Useful to check if they're too short. */ export declare class KeywordsTool { readonly cms: CMS; readonly locale: Locale; readonly normalizer: Normalizer; constructor(cms: CMS, locale: Locale, normalizer: Normalizer); dumpKeywords(): Promise<Map<string, Keyword[]>>; }