Skip to content

Home > fff-flavored-frontmatter > toJSONFeedItem

toJSONFeedItem variable

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

From FFF to JSON Feed Item (Version 1.1)

Signature:

typescript
toJSONFeedItem: <TInput extends Partial<JSONFeedItem> = Partial<JSONFeedItem>, TOutput extends TInput = TInput & {
    _indieweb: JSONFeedItemIndieWeb;
}>(fm: FFFFlavoredFrontmatter & Record<string, unknown>, item?: TInput | undefined) => TOutput