MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / serialize

Function serialize

apps/docs/astro.config.mjs:121–127  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

119 integrations: [
120 sitemap({
121 serialize(item) {
122 const lastmod = lastmodForUrl(item.url);
123 if (lastmod) {
124 item.lastmod = lastmod;
125 }
126 return item;
127 },
128 }),
129 react(),
130 mermaid({

Callers

nothing calls this directly

Calls 1

lastmodForUrlFunction · 0.85

Tested by

no test coverage detected