hackandhost

Blog

Notes on building small developer tools. RSS feed

curl to fetch, axios and PythonTool

Paste a curl command, or one copied from your browser's dev tools, and get the same request as JavaScript fetch, axios or Python requests code.

3 min read · curl, javascript, python, tool

Cron expression explainerTool

Paste a cron expression to read it in plain English and see when it will run next, or build one field by field.

2 min read · cron, tool

JSON to TypeScript and ZodTool

Turn a JSON sample into TypeScript interfaces or a Zod schema, with optional keys, nullable values and string formats worked out for you.

2 min read · typescript, zod, tool

JWT decoderTool

Paste a JSON Web Token to read its header and claims, see when it expires in your time zone, and check its signature. Nothing leaves your browser.

3 min read · jwt, auth, tool

Regex explainerTool

Test a JavaScript regular expression against your own text and read the pattern back as plain English, step by step.

2 min read · regex, javascript, tool

Tailwind class sorterTool

Sort Tailwind classes in the same order as the Prettier plugin, remove duplicates, and drop classes that a later one overrides.

2 min read · tailwind, css, tool