@stackend/api
Version:
JS bindings to api.stackend.com
13 lines • 369 B
TypeScript
/**
* Normalize tags (order)
* @param tags
*/
export declare function normalizeTags(tags: string[] | undefined): string[];
/**
* Give a pathname (URL), find the tags if any, returns empty array if none is found
* @param pathname
*/
export declare function getTagsFromPathname({ pathname }: {
pathname: string;
}): string[];
//# sourceMappingURL=index.d.ts.map