pythonasyncioapiasyncfastapiframeworkjsonjson-schemaopenapiopenapi3pydanticpython-typespython3redocreststarletteswaggerswagger-uiuvicornweb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
309 B
11 lines
309 B
export const randomEmail = () =>
|
|
`test_${Math.random().toString(36).substring(7)}@example.com`
|
|
|
|
export const randomTeamName = () =>
|
|
`Team ${Math.random().toString(36).substring(7)}`
|
|
|
|
export const slugify = (text: string) =>
|
|
text
|
|
.toLowerCase()
|
|
.replace(/\s+/g, "-")
|
|
.replace(/[^\w-]+/g, "")
|
|
|