Skip to content
clothes iron, hammer, axe, flashlight and pitcher on brown wooden table

Strumenti

An ever-growing collection of useful utility functions.

There's no need to reinvent the wheel…!

Functions

bool

calculatePixelsFromPoints

camelCase

copyStringToClipboard

delay

generateUUID

getCssValue

getFileExtension

getFilename

getKeyByValue

hasTrailingSlash

htmlEntities

humanReadableDate

humanReadableDateTime

humanReadableFilesize

humanReadableNumber

indexOfMax

numberizeValue

objectsMatch

salt

slugify

sortObjectByKeyAlphabetically

stripLogs

titleCase

whichMotionEvent

Cover image courtesy of Todd Quackenbush.

Comments

In almost all cases, the comments section is a cesspool of Reply Guys, racists, and bots.

I don't want to have to deal with that kind of hell so I don't have a comments section.

If you want to continue the conversation, you can always hit me up on Twitter (which is, in it's own way, a vile cesspool of Reply Guys, racists, and bots).

Thomas Rigby

Thomas Rigby

When I'm not building things for the internet, I take photos of stuff.
Loading Invisible Visible Navigation Close Arrow Info Online Online