MCPcopy Create free account
hub / github.com/SethGammon/Citadel / slugify

Function slugify

core/codex/native-integrations.js:14–20  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

12}
13
14function slugify(value) {
15 return String(value || 'item')
16 .toLowerCase()
17 .replace(/[^a-z0-9]+/g, '-')
18 .replace(/^-|-$/g, '')
19 .slice(0, 80) || 'item';
20}
21
22function nowIso(options = {}) {
23 return options.now || new Date().toISOString();

Callers 4

createAutomationPlanFunction · 0.70
createPrReviewPlanFunction · 0.70
recordPrReviewResultFunction · 0.70
ingestCodexReviewFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected