@5stones/onix
Version:
A strongly typed library for parsing ONIX feeds.
13 lines (12 loc) • 567 B
TypeScript
export declare function getBISACLabelsForCode(code: string, shortLabel?: boolean): string[] | undefined;
export declare function getBISACCodeForLabel(label: string): string | undefined;
export interface BISACNode {
code: string;
labels: string[];
primaryFullLabel: string;
primaryShortLabel: string;
primaryFullLabelNonGeneric: string;
primaryShortLabelNonGeneric: string;
}
export declare function getBISACNodeForCode(code: string): BISACNode | undefined;
export declare function getBISACAncestorForCode(code: string): BISACNode | undefined;