mirror of
https://github.com/seigler/awesome-dash-platform
synced 2025-07-27 06:36:08 +00:00
feat: clean up (a lot) (#247)
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
This commit is contained in:
parent
6f15e77ed6
commit
a89015da98
12 changed files with 141 additions and 237 deletions
|
@ -20,12 +20,9 @@ const slugify = (text) => text.toString()
|
|||
.replace(/^-+/, '')
|
||||
.replace(/-+$/, '')
|
||||
|
||||
const capitalize = (text) => `${text.charAt(0).toUpperCase()}${text.slice(1).toLowerCase()}`
|
||||
|
||||
module.exports = {
|
||||
sort,
|
||||
sortInv,
|
||||
sortAbc,
|
||||
slugify,
|
||||
capitalize
|
||||
slugify
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue