Okiki Ojo's Avatar

Okiki Ojo

@okikio.dev

ex-Software Engineer @vercel.com, Maintainer @astro.build; @bundlejs.com & @inthistweet.app Opinions are my own - https://github.com/okikio - https://twitter.com/okikio_dev

410
Followers
343
Following
83
Posts
23.05.2023
Joined
Posts Following

Latest posts by Okiki Ojo @okikio.dev

`@okikio/undent` preserves newlines, handles interpolations, and avoids the usual formatting bugs. Zero dependencies + works in Node, Deno, and Bun.

github: github.com/okikio/undent
npm: npmjs.com/@okikio/undent
jsr: jsr.io/@okikio/undent

21.02.2026 09:24 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image Post image Post image Post image

Got annoyed by weird indentation issues with multiline strings, so I made `@okikio/undent` a tiny dedent utility for template literals.

Strips leading spaces from multiline strings fixing the formatting...it's designed to be versatile and flexible.

github: github.com/okikio/undent

/1

21.02.2026 09:24 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

you'll likely also want to ask it to cross reference your codebase to find reasoning/behaviour questions for you to clarify...

AI's are good at logic but gosh dang awful at reasoning... and in the age of AI reasoning might as well be gold...reasoning is true understanding...

/2

13.02.2026 09:33 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

neat trick: literally just ask it to ask YOU questions, specifically questions on reasoning, architecture decisions and behaviour decisions.

it makes explicit the number of decisions you make during development, and also ensures that you are always kept in the loop...

/1

13.02.2026 09:33 πŸ‘ 4 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

this straight up gives me anxiety

23.11.2025 21:50 πŸ‘ 5 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
jadda on X: "Hey yall! hi all! i made a form about comic tracking and collection habits. it’s short, anonymous, and mostly multiple choice. if you read or collect comics in any capacity, i’d love for you to fill it out. https://t.co/FFA61KNEF8" / X Hey yall! hi all! i made a form about comic tracking and collection habits. it’s short, anonymous, and mostly multiple choice. if you read or collect comics in any capacity, i’d love for you to fill it out. https://t.co/FFA61KNEF8

Hey yall!
hi all! i made a form about #comic tracking and collection habits. it’s short, anonymous, and mostly multiple choice. if you read or collect comics in any capacity, i’d love for you to fill it out. #comicbooks
x.com/jaydders/sta...

08.11.2025 17:53 πŸ‘ 3 πŸ” 3 πŸ’¬ 0 πŸ“Œ 0

The 3 rules of life: *death*, *taxes* and *technical difficulties*

08.10.2025 19:04 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
DOMImplementation: createHTMLDocument() method - Web APIs | MDN The DOMImplementation.createHTMLDocument() method creates a new HTML Document.

TIL, `document.implementation.createHTMLDocument(...)` is a thing developer.mozilla.org/en-US/docs/W...

22.09.2025 18:34 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

it's really kinda dumb how there is no `hover` event in js that's tied into the `:hover` css selector, it's really freaking difficult to debug `mouseover`

20.09.2025 00:01 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

AIs being unable to work with Tailwind V4 is the bane of my existence...honestly open source peeps should just like make paid MCPs so the latest info. is available to AIs making it OSS sustainable and avoiding the footguns that are version changes

19.09.2025 06:27 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Something I'm starting to realize is that in both power and respect, they are given not taken...the philosophical difference between giving and taking is the difference between a great leader and a bad one.

28.08.2025 07:11 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Ensuring the actual words are clear and understandable to all readers.

Imo the only design pattern book the soft. dev. industry needs is how to write code others can understand, and how to make clear the intentions and reasoning behind choices.

/4

13.08.2025 05:23 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I should be clear I don't mean the method of communication, one can argue Slack, Teams, and Discord have solved that, I mean the actual communication itself the actual words, intentions, background, problems, edge cases, solution, reasoning/logic, process, errors, unusual behaviour, etc...

/3

13.08.2025 05:23 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

I've not yet seen anyone build AI tools to enhance communication, ensuring teams can works like finely tuned machines...it really is such a missed opportunity imo a multi-billion dollar industry.

/2

13.08.2025 05:19 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

I strongly believe 99.99999% of errors, failures, and more... are all due to communication mishaps, whether misunderstanding requirements, poor understanding of user needs/wants, and/or poor communication of code and tooling, it all lands at poor communication...

/1

13.08.2025 05:19 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Honestly TENET deserves more love, covid and 2020 were the only reasons why we didn't see it

06.07.2025 05:52 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Your use of AI, and what you can get out of AI says more about your capabilities, your understanding, and you perspective of the world which are reflected in how you ask the question, than it does speak to the capabilities of the AI.

/4

28.06.2025 15:44 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Basically to use AI effectively you need to be able to introspect, aim to be a better communicator, aim to better understand the idea space you live in, really understand you tendencies, work on clearly identifying your intentions, etc...

/3...

28.06.2025 15:44 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Asking AI question can help identify that there is a potential unknown unknown, but its rarely enough to know what what unknown unknown is, it's generally something you have to actively seek out manually and it can be hard.

/2...

28.06.2025 15:44 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

What AI has basically taught me is that I don't know stuff. To use AI effectively you need to know stuff. Thus, you first need to identify known knowns, known unknowns, and most importantly of all unknown unknowns.

/1...

28.06.2025 15:44 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Top tier fact: Perception is reality, until reality hits

21.06.2025 16:29 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I've found if you want to communicate anything especially with AI, you kinda wanna format it so it cover Intent, Impact, Logic, Rationale, Practical Examples, Edge cases, and Unconventional Behaviour.

^ it's waaayyyyy easier to understand if you're able to touch on all these

20.06.2025 05:45 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

This is so random! and muuuuch needed

A new Random namespace with 22 methods for working with randomness in JavaScript.

proposal just hit Stage 1

29.05.2025 14:58 πŸ‘ 278 πŸ” 35 πŸ’¬ 15 πŸ“Œ 3

Top-tier tip, always question your assumptions, you know less than you think but more than you realize.

28.05.2025 05:50 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Final Destination confirms that we absolutely world wide should just get rid of pennies...they are too dangerous...lol

27.05.2025 07:08 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

TIL, using eval can actually cause js to be faster...

Source: romgrk.com/posts/optimi...

27.05.2025 05:43 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

i'm starting to realize the fastest any non-runtime optimized js code can get is `Β΅s` (microseconds), optimized runtime code can get as fast as `ns` (nanoseconds).

1Β΅s = 1000ns

24.05.2025 03:25 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

First look at a new Snipping Tool feature coming soon to Windows 11: the ability to quickly create GIFs from screen recordings!

You'll get options to export/copy the GIF, with a choice between low and high quality. This menu can also be accessed with a keyboard shortcut, Ctrl+G.

22.05.2025 22:56 πŸ‘ 9 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0

Why do this Mozilla? Why not shut down Firefox instead?

22.05.2025 20:33 πŸ‘ 7 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Preview
A brief history of JavaScript | Deno In 30 years, JavaScript went from being a little scripting language to one of the world's most popular. Here are key moments to show how it has evolved and where it is headed.

This month, JavaScript turns 30 πŸŽ‚

Here are key moments showing how JavaScript evolved from a little scripting language to one of the world's most popular πŸ‘‡

deno.com/blog/history...

22.05.2025 16:05 πŸ‘ 143 πŸ” 30 πŸ’¬ 5 πŸ“Œ 11