UNPKG

@bliztek/feed-generator

Version:

A simple and lightweight Node.js library for generating RSS 2.0, Atom, and JSON Feed formats.

8 lines (7 loc) 288 B
import { Feed, FeedFormat } from "./types.js"; export declare class FeedValidationError extends Error { readonly field: string; readonly reason: string; constructor(field: string, reason: string); } export declare const validateFeed: (feed: Feed, format: FeedFormat) => void;