MCPcopy Create free account
hub / github.com/chainjet/platform / humanize

Function humanize

libs/common/src/utils/string.utils.ts:20–20  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

18export const toKebabCase = (str: string) => str.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase()
19
20export const humanize = (str: string): string => str.replace(/([a-z])([A-Z])/g, '$1 $2')
21
22/**
23 * Removes markdown and html from a string

Callers 1

createOperationFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected