FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
I built 18 Chrome extensions, kept rewriting the same code, so I open-sourced the toolkit
How-ToWeb Development

I built 18 Chrome extensions, kept rewriting the same code, so I open-sourced the toolkit

via Dev.to WebdevMichael Lip10h ago

Every Chrome extension I've built starts the same way. I need to store some user preferences. I need the popup to talk to the background script. I need to check if the user granted a permission before I call an API that'll throw if they didn't. And every time, I'd write the same wrapper around chrome.storage, the same message-passing boilerplate, the same permission checks. Slightly different each time. Slightly broken in new ways each time. After 18 extensions and roughly the tenth time copy-pasting a storage helper between repos, I finally extracted it all into three packages and a documentation site. Sharing it here because I wish this existed when I started. The packages All three are TypeScript, ship ESM + CJS, and have actual tests (not "tests"). @theluckystrike/webext-storage Typed storage with schema validation. You define your shape once, and every get and set call is type-safe from that point forward. ``import { defineSchema, createStorage } from '@theluckystrike/webext-stora

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
0 views

Related Articles

The Quiet Advantage of Learning in Small, Practical Steps
How-To

The Quiet Advantage of Learning in Small, Practical Steps

Medium Programming • 3h ago

2. Readers-writers Problem
How-To

2. Readers-writers Problem

Medium Programming • 5h ago

The Part Nobody Could Scale
How-To

The Part Nobody Could Scale

Medium Programming • 6h ago

Claude Code Now Lets You Code From Your Phone. Here’s What I Learned the Hard Way.
How-To

Claude Code Now Lets You Code From Your Phone. Here’s What I Learned the Hard Way.

Medium Programming • 7h ago

Stop Watching Tutorials: The Real Way to Learn Coding Faster
How-To

Stop Watching Tutorials: The Real Way to Learn Coding Faster

Medium Programming • 8h ago

Discover More Articles