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

Function slugify

scripts/pr-ready.js:55–61  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

53}
54
55function slugify(value) {
56 return String(value || 'pr')
57 .toLowerCase()
58 .replace(/[^a-z0-9]+/g, '-')
59 .replace(/^-+|-+$/g, '')
60 .slice(0, 80) || 'pr';
61}
62
63function runGit(projectRoot, args) {
64 try {

Callers 1

assessReadinessFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected