MCPcopy Create free account
hub / github.com/anders-swanson/oracle-database-code-samples / slugify

Function slugify

website/scripts/generate-samples.mjs:127–132  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

125}
126
127function slugify(value) {
128 return value
129 .toLowerCase()
130 .replace(/[^a-z0-9]+/g, '-')
131 .replace(/^-+|-+$/g, '');
132}
133
134function maxUpdatedAt(samples) {
135 return samples

Callers 1

buildLanguagePagesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected