MCPcopy Create free account
hub / github.com/Packstack-Tech/packstack / getPackPath

Function getPackPath

frontend/src/routes.ts:17–20  ·  view source on GitHub ↗
(id: number, title: string)

Source from the content-addressed store, hash-verified

15export const PACK = '/:id/:slug?';
16
17export const getPackPath = (id: number, title: string): string => {
18 const slug = slugify(title, { replacement: '-', lower: true });
19 return `/${id}/${slug}`;
20};

Callers 5

StatisticsFunction · 0.90
userOptionsFunction · 0.90
PackItemFunction · 0.90
getDataFunction · 0.90
PackFormFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected