<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Jayant Bansal</title>
    <description>The latest articles on DEV Community by Jayant Bansal (@jayantbansal900).</description>
    <link>https://dev.to/jayantbansal900</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4266701%2F6fea86f4-0c50-47bb-88f8-dfd4c57d7dd2.png</url>
      <title>DEV Community: Jayant Bansal</title>
      <link>https://dev.to/jayantbansal900</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jayantbansal900"/>
    <language>en</language>
    <item>
      <title>Stop Using These 3 VS Code Extensions (Use These 12 Instead)</title>
      <dc:creator>Jayant Bansal</dc:creator>
      <pubDate>Fri, 27 Nov 2026 05:39:25 +0000</pubDate>
      <link>https://dev.to/jayantbansal900/stop-using-these-3-vs-code-extensions-use-these-12-instead-464p</link>
      <guid>https://dev.to/jayantbansal900/stop-using-these-3-vs-code-extensions-use-these-12-instead-464p</guid>
      <description>&lt;p&gt;Open your VS Code extensions list right now. There's a good chance you'll find at least one extension that &lt;strong&gt;does absolutely nothing anymore&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;A few of the most-installed extensions from a few years ago solved problems that VS Code has since fixed by itself. They still load every time you open the editor, they still use memory, and some haven't been updated in years. You're paying for them and getting nothing back.&lt;/p&gt;

&lt;p&gt;So let's clean up first. Below are 3 extensions you can uninstall today, and then 12 that actually earn their place: they catch bugs before you run the code, format everything for you and answer "who wrote this line and why?" without leaving the file.&lt;/p&gt;

&lt;h2&gt;
  
  
  Stop using these 3
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1mi37z4x28mjw1oc5ce0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1mi37z4x28mjw1oc5ce0.png" alt="The three VS Code settings that replace Bracket Pair Colorizer, Auto Rename Tag and Settings Sync" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  ❌ 1. Bracket Pair Colorizer
&lt;/h3&gt;

&lt;p&gt;This was everyone's favorite: matching brackets in matching colors, so you can see where each block starts and ends.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why you can delete it:&lt;/strong&gt; VS Code added this feature natively in 2021, and the built-in version is much faster. The extension's own author deprecated it and pointed users to the built-in setting. It's on by default now; if it isn't for you, add:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="nl"&gt;"editor.bracketPairColorization.enabled"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  ❌ 2. Settings Sync (the extension)
&lt;/h3&gt;

&lt;p&gt;The Settings Sync extension saved your settings, keybindings and extensions to a GitHub Gist, so you could restore them on another machine.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why you can delete it:&lt;/strong&gt; VS Code has its own Settings Sync built in, with no Gist or token to manage. Click the account icon at the bottom left, choose &lt;strong&gt;Backup and Sync Settings&lt;/strong&gt;, and sign in with GitHub or Microsoft. Your settings, extensions and keybindings now follow you to every machine.&lt;/p&gt;

&lt;h3&gt;
  
  
  ❌ 3. Auto Rename Tag
&lt;/h3&gt;

&lt;p&gt;Rename &lt;code&gt;&amp;lt;div&amp;gt;&lt;/code&gt; to &lt;code&gt;&amp;lt;section&amp;gt;&lt;/code&gt; and the extension renames the closing &lt;code&gt;&amp;lt;/div&amp;gt;&lt;/code&gt; for you.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why you can delete it:&lt;/strong&gt; VS Code can do this itself for HTML. It's called linked editing:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="nl"&gt;"editor.linkedEditing"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Done. Three fewer extensions, same features, faster startup. Now let's add the ones worth having.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use these 12 instead
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Catch mistakes before you run anything
&lt;/h3&gt;

&lt;h4&gt;
  
  
  ✅ 1. Error Lens
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;ID:&lt;/strong&gt; &lt;code&gt;usernamehw.errorlens&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;By default, VS Code marks an error with a small squiggly underline. You have to hover over it to find out what's wrong, and it's easy to miss entirely.&lt;/p&gt;

&lt;p&gt;Error Lens prints the error message &lt;strong&gt;right at the end of the line&lt;/strong&gt;, in color. Red for errors, yellow for warnings. You see the problem the moment you type it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu60mwlfelepy7mn0jfet.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu60mwlfelepy7mn0jfet.png" alt="The same code with and without Error Lens" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If the warnings feel noisy, show only errors and warnings and hide the info-level hints:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="nl"&gt;"errorLens.enabledDiagnosticLevels"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"error"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"warning"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Who it's for:&lt;/strong&gt; everyone. If you install one extension from this list, make it this one.&lt;/p&gt;

&lt;h4&gt;
  
  
  ✅ 2. ESLint
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;ID:&lt;/strong&gt; &lt;code&gt;dbaeumer.vscode-eslint&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;ESLint finds bugs and bad patterns in JavaScript and TypeScript: unused variables, a missing &lt;code&gt;await&lt;/code&gt;, comparing with &lt;code&gt;==&lt;/code&gt; instead of &lt;code&gt;===&lt;/code&gt;, a variable used before it's defined.&lt;/p&gt;

&lt;p&gt;The extension runs ESLint as you type and shows the problems in the editor (and, with Error Lens, at the end of the line). It uses your project's own ESLint config, so it follows the same rules your team or CI does.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmgla0gh2z2pli8xdrnll.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmgla0gh2z2pli8xdrnll.png" alt="ESLint problems shown in the editor and the Problems panel" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Want it to fix what it can every time you save?&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="nl"&gt;"editor.codeActionsOnSave"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"source.fixAll.eslint"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"explicit"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Who it's for:&lt;/strong&gt; anyone writing JavaScript or TypeScript.&lt;/p&gt;

&lt;h4&gt;
  
  
  ✅ 3. Code Spell Checker
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;ID:&lt;/strong&gt; &lt;code&gt;streetsidesoftware.code-spell-checker&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Typos in code are sneaky. &lt;code&gt;recieveData&lt;/code&gt; and &lt;code&gt;receiveData&lt;/code&gt; both look fine at a glance, but one of them will cause a "function not found" bug at 2 a.m.&lt;/p&gt;

&lt;p&gt;Code Spell Checker underlines misspelled words in variable names, comments and strings. It understands &lt;code&gt;camelCase&lt;/code&gt; and &lt;code&gt;snake_case&lt;/code&gt;, so &lt;code&gt;getUserProfile&lt;/code&gt; is read as three words, not one strange one.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpb16t39q800llkmal5rr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpb16t39q800llkmal5rr.png" alt="Code Spell Checker flagging a typo in a function name and suggesting the fix" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For project-specific words like your app's name, add them to the workspace so the checker stops complaining:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="nl"&gt;"cSpell.words"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"fastapi"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"pydantic"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"vite"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Who it's for:&lt;/strong&gt; everyone, and especially anyone whose code other people read.&lt;/p&gt;

&lt;h3&gt;
  
  
  Keep your code clean without thinking about it
&lt;/h3&gt;

&lt;h4&gt;
  
  
  ✅ 4. Prettier
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;ID:&lt;/strong&gt; &lt;code&gt;esbenp.prettier-vscode&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Prettier formats your code automatically: indentation, quotes, semicolons, line breaks, all of it. You stop arguing about style in code reviews because there's nothing left to argue about.&lt;/p&gt;

&lt;p&gt;It supports JavaScript, TypeScript, HTML, CSS, JSON, Markdown, YAML and more. Set it as the default formatter and turn on format-on-save:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="nl"&gt;"editor.defaultFormatter"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"esbenp.prettier-vscode"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="nl"&gt;"editor.formatOnSave"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now every time you hit &lt;code&gt;Ctrl+S&lt;/code&gt;, the file is tidy.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F05gbwgm604ozus3fv3pr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F05gbwgm604ozus3fv3pr.png" alt="Messy code before saving and the same code after Prettier formats it" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tip:&lt;/strong&gt; add a &lt;code&gt;.prettierrc&lt;/code&gt; file to your project so everyone on the team gets the same formatting, no matter what their personal settings are.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who it's for:&lt;/strong&gt; web developers, and anyone who's ever fixed indentation by hand.&lt;/p&gt;

&lt;h3&gt;
  
  
  Understand your Git history
&lt;/h3&gt;

&lt;h4&gt;
  
  
  ✅ 5. GitLens
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;ID:&lt;/strong&gt; &lt;code&gt;eamodio.gitlens&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Ever looked at a weird line of code and wondered who wrote it and why? GitLens answers that right inside the editor.&lt;/p&gt;

&lt;p&gt;Click any line and you'll see, faded at the end of it, &lt;strong&gt;who last changed it, when, and the commit message&lt;/strong&gt;. Hover for the full commit, or jump straight to the diff.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fef84d2m8xw5oa5rbol0a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fef84d2m8xw5oa5rbol0a.png" alt="GitLens inline blame and commit details on hover" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Other features worth knowing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;File History:&lt;/strong&gt; every change ever made to the current file&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Compare:&lt;/strong&gt; see what changed between two branches or commits&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Commit details:&lt;/strong&gt; browse a commit's changes without opening a terminal&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The core features are free. Some advanced views, like the Commit Graph on private repos, are part of a paid plan.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who it's for:&lt;/strong&gt; anyone working in a codebase with history, especially a shared one.&lt;/p&gt;

&lt;h3&gt;
  
  
  Move around faster
&lt;/h3&gt;

&lt;h4&gt;
  
  
  ✅ 6. Path Intellisense
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;ID:&lt;/strong&gt; &lt;code&gt;christian-kohler.path-intellisense&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Typing file paths by hand is a great way to get &lt;code&gt;../../../components/Buton.jsx&lt;/code&gt; wrong.&lt;/p&gt;

&lt;p&gt;Path Intellisense autocompletes file and folder names as you type a path, in imports, HTML &lt;code&gt;src&lt;/code&gt; attributes, CSS &lt;code&gt;url()&lt;/code&gt; and anywhere else. Type &lt;code&gt;./&lt;/code&gt; and pick from the list.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Femjl6be00rtbsozwmv25.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Femjl6be00rtbsozwmv25.png" alt="Path Intellisense suggesting files while typing an import path" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who it's for:&lt;/strong&gt; front-end developers and anyone with a deep folder structure.&lt;/p&gt;

&lt;h4&gt;
  
  
  ✅ 7. Todo Tree
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;ID:&lt;/strong&gt; &lt;code&gt;Gruntfuggly.todo-tree&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;We all leave &lt;code&gt;// TODO: fix this later&lt;/code&gt; comments. Then "later" never comes, because nobody remembers they exist.&lt;/p&gt;

&lt;p&gt;Todo Tree scans your whole project for &lt;code&gt;TODO&lt;/code&gt;, &lt;code&gt;FIXME&lt;/code&gt;, &lt;code&gt;BUG&lt;/code&gt; and similar tags, highlights them in the code and lists them all in a sidebar panel. Click one to jump straight to it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9hxnb9ckzmwycrnd1snj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9hxnb9ckzmwycrnd1snj.png" alt="Todo Tree listing TODO, FIXME and BUG comments across the project" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who it's for:&lt;/strong&gt; anyone with more than one &lt;code&gt;TODO&lt;/code&gt; in their project (so, everyone).&lt;/p&gt;

&lt;h3&gt;
  
  
  Web development
&lt;/h3&gt;

&lt;h4&gt;
  
  
  ✅ 8. Live Server
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;ID:&lt;/strong&gt; &lt;code&gt;ritwickdey.LiveServer&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Building a plain HTML, CSS and JavaScript page? Live Server starts a local server with one click ("Go Live" in the status bar) and &lt;strong&gt;reloads the browser every time you save&lt;/strong&gt;. No more pressing F5 after every change.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjcpar7ccc6s3zh7fcphw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjcpar7ccc6s3zh7fcphw.png" alt="Live Server showing an HTML page that reloads on save" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;One note: Live Server hasn't been updated in a while. It still works fine, but if you'd rather use something actively maintained, Microsoft's &lt;strong&gt;Live Preview&lt;/strong&gt; (&lt;code&gt;ms-vscode.live-server&lt;/code&gt;) does a similar job and can show the page inside VS Code itself.&lt;/p&gt;

&lt;p&gt;If you're using React with Vite or Next.js, you don't need either: their dev servers already reload for you.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who it's for:&lt;/strong&gt; beginners learning HTML and CSS, and anyone building static pages.&lt;/p&gt;

&lt;h4&gt;
  
  
  ✅ 9. Thunder Client (or REST Client)
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;ID:&lt;/strong&gt; &lt;code&gt;rangav.vscode-thunder-client&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Testing an API usually means switching to Postman. Thunder Client puts a lightweight API client inside VS Code: pick a method, paste a URL, add headers or a JSON body, hit Send.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5a51h3slmikx30ywgtuu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5a51h3slmikx30ywgtuu.png" alt="Thunder Client sending a GET request and showing the JSON response" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Some of its features now need a paid plan, so check what the free version includes.&lt;/p&gt;

&lt;p&gt;A fully free alternative is &lt;strong&gt;REST Client&lt;/strong&gt; (&lt;code&gt;humao.rest-client&lt;/code&gt;). You write requests in a plain &lt;code&gt;.http&lt;/code&gt; file and click "Send Request" above each one:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight http"&gt;&lt;code&gt;&lt;span class="no"&gt;GET&lt;/span&gt; &lt;span class="n"&gt;https&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="c1"&gt;//api.github.com/users/octocat&lt;/span&gt;
&lt;span class="nc"&gt;Accept&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;application&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;json&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A bonus: the &lt;code&gt;.http&lt;/code&gt; file can live in your repo, so your API examples are version-controlled alongside your code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who it's for:&lt;/strong&gt; back-end developers and anyone who works with APIs.&lt;/p&gt;

&lt;h3&gt;
  
  
  Python and data work
&lt;/h3&gt;

&lt;h4&gt;
  
  
  ✅ 10. Python + Jupyter
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;IDs:&lt;/strong&gt; &lt;code&gt;ms-python.python&lt;/code&gt;, &lt;code&gt;ms-toolsai.jupyter&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;If you write Python in VS Code, Microsoft's Python extension is essential. It gives you autocomplete and type checking (it installs &lt;strong&gt;Pylance&lt;/strong&gt; alongside), debugging, virtual environment selection and test running.&lt;/p&gt;

&lt;p&gt;Add the &lt;strong&gt;Jupyter&lt;/strong&gt; extension and you can open &lt;code&gt;.ipynb&lt;/code&gt; notebooks directly in VS Code, with the same editor, shortcuts and Git integration you use for everything else. No more switching to a browser tab.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4movi9jzqtsmggo8m09r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4movi9jzqtsmggo8m09r.png" alt="A Jupyter notebook running pandas inside VS Code" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tip:&lt;/strong&gt; press &lt;code&gt;Ctrl+Shift+P&lt;/code&gt; and run &lt;strong&gt;Python: Select Interpreter&lt;/strong&gt; to pick your project's virtual environment. Most "module not found" errors in VS Code come from the wrong interpreter being selected.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who it's for:&lt;/strong&gt; Python developers, data analysts and anyone learning machine learning.&lt;/p&gt;

&lt;h4&gt;
  
  
  ✅ 11. Rainbow CSV
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;ID:&lt;/strong&gt; &lt;code&gt;mechatroner.rainbow-csv&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Open a raw CSV file and it's just a wall of commas. Rainbow CSV gives each column its own color, so you can actually see which value belongs where.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fawnr5m2vnb22bq9aywym.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fawnr5m2vnb22bq9aywym.png" alt="Rainbow CSV coloring each column of a sales export" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It also lets you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Hover over a value to see its column name&lt;/li&gt;
&lt;li&gt;Run &lt;strong&gt;CSVLint&lt;/strong&gt; to find rows with the wrong number of columns&lt;/li&gt;
&lt;li&gt;Query the file with &lt;strong&gt;RBQL&lt;/strong&gt;, a SQL-like language, without loading it into pandas&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Who it's for:&lt;/strong&gt; anyone who opens CSV files, which is basically everyone in data.&lt;/p&gt;

&lt;h3&gt;
  
  
  Make it look good
&lt;/h3&gt;

&lt;h4&gt;
  
  
  ✅ 12. Material Icon Theme
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;ID:&lt;/strong&gt; &lt;code&gt;PKief.material-icon-theme&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This one is purely visual, but you'll notice it every day. It replaces VS Code's default file icons with clear, colorful ones for each file type and even common folder names like &lt;code&gt;src&lt;/code&gt;, &lt;code&gt;components&lt;/code&gt; and &lt;code&gt;tests&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fytpvwiwwo6l7tllamhgm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fytpvwiwwo6l7tllamhgm.png" alt="Default file icons compared with Material Icon Theme" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You find the file you want faster when &lt;code&gt;.py&lt;/code&gt;, &lt;code&gt;.json&lt;/code&gt; and &lt;code&gt;.env&lt;/code&gt; files all look different at a glance.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who it's for:&lt;/strong&gt; everyone who spends hours looking at the file explorer.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install all 12 in one go
&lt;/h2&gt;

&lt;p&gt;Open a terminal and run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;code --install-extension usernamehw.errorlens --install-extension dbaeumer.vscode-eslint --install-extension streetsidesoftware.code-spell-checker --install-extension esbenp.prettier-vscode --install-extension eamodio.gitlens --install-extension christian-kohler.path-intellisense --install-extension Gruntfuggly.todo-tree --install-extension ritwickdey.LiveServer --install-extension rangav.vscode-thunder-client --install-extension ms-python.python --install-extension ms-toolsai.jupyter --install-extension mechatroner.rainbow-csv --install-extension PKief.material-icon-theme
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Don't need all of them? Just remove the ones you don't want from the command.&lt;/p&gt;

&lt;h2&gt;
  
  
  One last tip: don't overdo it
&lt;/h2&gt;

&lt;p&gt;The whole point of this post is that every extension has a cost. Each one adds a little startup time and memory. If VS Code starts feeling slow, press &lt;code&gt;Ctrl+Shift+P&lt;/code&gt; and run &lt;strong&gt;Developer: Show Running Extensions&lt;/strong&gt; to see which ones take the longest to load, and uninstall the ones you don't really use.&lt;/p&gt;

&lt;p&gt;You can also use &lt;strong&gt;Profiles&lt;/strong&gt; (the gear icon, then Profiles) to keep separate sets of extensions, for example one for web development and one for Python. Each profile only loads what it needs.&lt;/p&gt;

&lt;p&gt;Start with Error Lens, Prettier and GitLens. Add the rest when you hit the problem they solve.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Which extension would you add to this list, or which one should people stop using? Drop it in the comments, I'm always looking for new ones.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;If you found this useful, leave a reaction ❤️ and a comment. It really helps, and it tells me what to write about next!&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>vscode</category>
      <category>productivity</category>
      <category>webdev</category>
      <category>beginners</category>
    </item>
    <item>
      <title>What Broke, What Held: Three Bugs That Never Crashed My Farm App</title>
      <dc:creator>Jayant Bansal</dc:creator>
      <pubDate>Thu, 26 Nov 2026 18:32:18 +0000</pubDate>
      <link>https://dev.to/jayantbansal900/what-broke-what-held-three-bugs-that-never-crashed-my-farm-app-2cko</link>
      <guid>https://dev.to/jayantbansal900/what-broke-what-held-three-bugs-that-never-crashed-my-farm-app-2cko</guid>
      <description>&lt;p&gt;I built &lt;strong&gt;ProFarm&lt;/strong&gt;, a farm management app with a crop and soil guide, weather, market prices, and a planner for farms, crop cycles and tasks. The app started, the pages loaded and the features worked.&lt;/p&gt;

&lt;p&gt;Then I went back through the project looking for things that were wrong without being broken, and I found three. None of them crashed anything or threw an error. Each one looked fine on screen, which is exactly why nothing ever pointed at them.&lt;/p&gt;

&lt;p&gt;This post is about those three, how I proved each one with a test, and what I check first now.&lt;/p&gt;

&lt;p&gt;Code: &lt;a href="https://github.com/JayantBansal900/ProFarm-V2" rel="noopener noreferrer"&gt;https://github.com/JayantBansal900/ProFarm-V2&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Bug 1: The clock
&lt;/h2&gt;

&lt;p&gt;The planner marks a task overdue when its due date is before "today". My first version got "today" from the server's clock. That is what everyone does, and it is wrong the moment your server and your users live in different timezones.&lt;/p&gt;

&lt;p&gt;Servers usually run in UTC. The farms ProFarm is built for are in India, five and a half hours ahead. So between midnight and 05:30 in India, the server still thought it was yesterday. A task that was due yesterday would not show as overdue until the server caught up with the calendar.&lt;/p&gt;

&lt;p&gt;I did not trust myself to reason my way to a fix, so I pinned the behaviour down with a test that walks across midnight:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// server in UTC, clock frozen. overdueNow() fetches the task list and returns its isOverdue flag&lt;/span&gt;
&lt;span class="n"&gt;vi&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;setSystemTime&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nb"&gt;Date&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'2026-11-25T18:00:00Z'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// 23:30 in India&lt;/span&gt;
&lt;span class="nf"&gt;expect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;overdueNow&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toBe&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="n"&gt;vi&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;setSystemTime&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nb"&gt;Date&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'2026-11-25T19:00:00Z'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// 00:30 in India&lt;/span&gt;
&lt;span class="nf"&gt;expect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;overdueNow&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toBe&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The fix is a small helper that asks "what is the date in &lt;em&gt;this&lt;/em&gt; timezone?" (an &lt;code&gt;APP_TIMEZONE&lt;/code&gt; setting, &lt;code&gt;Asia/Kolkata&lt;/code&gt; by default) instead of reading the server's. Now a server in Oregon and a server in Mumbai agree.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What I check first now:&lt;/strong&gt; anything that says "today" or "now" gets a test on either side of midnight, run on a server in a different timezone from the users.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bug 2: Everyone looked like one person
&lt;/h2&gt;

&lt;p&gt;Sign-in has a rate limit: too many wrong passwords from one address and you are blocked for a while. Sensible.&lt;/p&gt;

&lt;p&gt;Then I prepared the app to run on a free hosting plan, and I realised what a proxy does. Behind it, every visitor arrives from the proxy's address. To my rate limiter, the whole world was one very persistent person. A handful of wrong passwords from one user could lock out everybody else.&lt;/p&gt;

&lt;p&gt;I wanted proof, not a feeling, so I tested both versions. With the proxy configured correctly, a user who hits the limit is blocked, and a different visitor is still allowed in. With it misconfigured, a total stranger gets blocked for someone else's mistakes.&lt;/p&gt;

&lt;p&gt;The fix was a single setting: tell Express how many proxy hops to trust (1 in production, 0 on my laptop). The lesson was bigger. The code was fine; my picture of the network was wrong.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What I check first now:&lt;/strong&gt; I ask where my code actually sits. Proxies, load balancers and CDNs change what "the client's address" means.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bug 3: The types that lied
&lt;/h2&gt;

&lt;p&gt;This one is the sneakiest, because TypeScript was telling me everything was fine.&lt;/p&gt;

&lt;p&gt;My backend runs on Express 4, but my &lt;code&gt;package.json&lt;/code&gt; asked for the type definitions of Express &lt;strong&gt;5&lt;/strong&gt;, and another types package kept pulling them back in even after I noticed. So my editor autocompleted an API that was not the one actually running, and the compiler checked my code against rules that did not apply. Nothing failed. The types were confident, and they were describing the wrong version.&lt;/p&gt;

&lt;p&gt;I pinned the Express type packages to version 4 in the root &lt;code&gt;package.json&lt;/code&gt;, using &lt;code&gt;overrides&lt;/code&gt;, so no other package can quietly drag them back.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What I check first now:&lt;/strong&gt; when a library has a major version, I confirm the runtime and its &lt;code&gt;@types&lt;/code&gt; agree. Types are only a promise, and a promise about the wrong version is worse than none.&lt;/p&gt;

&lt;h2&gt;
  
  
  One design choice I'm proud of
&lt;/h2&gt;

&lt;p&gt;Farmers' data is private, and admins still need to manage accounts. So I made the admin panel unable to see inside anyone's farms. Admins only ever see counts. Their role is re-checked from the database on every request, their routes require two-step verification (a TOTP implementation I tested against the RFC's own test vectors), and every admin action goes into an audit log. Admins cannot demote or switch off themselves, so nobody locks themselves out by accident.&lt;/p&gt;

&lt;p&gt;The rule I took from it: if a feature does not need to see something, build it so it cannot, rather than promising it won't.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is not finished
&lt;/h2&gt;

&lt;p&gt;I would rather say this than have you find it. There is no password reset yet, farms can be archived but not deleted, and the market prices come from India's government data feed, so that page is India-only. I have not deployed a public demo, and on free hosting plans the disk is wiped on restart, so accounts would disappear. For that reason the app can recreate a demo account with sample farms on startup. SQLite suits one server; for more I would move to PostgreSQL.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I took from it
&lt;/h2&gt;

&lt;p&gt;The tests that mattered were not the ones that confirmed things worked. They were the ones I wrote because something felt off: a frozen clock, two different visitors, a pinned dependency.&lt;/p&gt;

&lt;p&gt;If your app has never crashed, that is not the same as it being right. Go looking for the quiet ones.&lt;/p&gt;

&lt;p&gt;The full project has 642 automated tests (472 backend, 170 frontend) and runs checks on every pull request. If you read the code and find a fourth quiet bug, I would genuinely like to hear about it.&lt;/p&gt;

&lt;p&gt;Repo: &lt;a href="https://github.com/JayantBansal900/ProFarm-V2" rel="noopener noreferrer"&gt;https://github.com/JayantBansal900/ProFarm-V2&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>node</category>
      <category>typescript</category>
      <category>testing</category>
    </item>
    <item>
      <title>How I Found the 13 Customers Behind 19% of a Shop's Sales</title>
      <dc:creator>Jayant Bansal</dc:creator>
      <pubDate>Thu, 26 Nov 2026 11:57:43 +0000</pubDate>
      <link>https://dev.to/jayantbansal900/how-i-found-the-13-customers-behind-19-of-a-shops-sales-mme</link>
      <guid>https://dev.to/jayantbansal900/how-i-found-the-13-customers-behind-19-of-a-shops-sales-mme</guid>
      <description>&lt;p&gt;Thirteen customers. That's how many people, out of 4,338, were responsible for almost a fifth of everything a UK online gift shop sold in a year.&lt;/p&gt;

&lt;p&gt;You won't find that number on a sales dashboard. Revenue charts show you totals, trends and best-selling products. They don't tell you that a handful of buyers are carrying the business, or that a quarter of your customers bought once and never came back.&lt;/p&gt;

&lt;p&gt;I built a small web app called &lt;strong&gt;Segmentra&lt;/strong&gt; to surface exactly that kind of pattern. You give it a plain export of your sales, and it sorts every customer into a group you can describe in one sentence. This post covers how it works, the mistakes I made along the way, and how I made it seven times faster once I found where the time was really going.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why I built it
&lt;/h2&gt;

&lt;p&gt;Customer segmentation is one of those ideas everyone in marketing has heard of and very few small businesses actually do. The big platforms have it built in. A shop running on spreadsheets and a basic order export usually doesn't.&lt;/p&gt;

&lt;p&gt;I wanted to close that gap with something simple: no account, no setup, no data science background needed. Upload a file, pick how many groups you want, and get answers like "these 204 people are your regulars" instead of a scatter plot and a statistics lecture.&lt;/p&gt;

&lt;p&gt;The stack is deliberately boring. The frontend is &lt;strong&gt;React&lt;/strong&gt; with TypeScript and Vite. The backend is a &lt;strong&gt;FastAPI&lt;/strong&gt; service in Python. The analysis itself uses &lt;strong&gt;pandas&lt;/strong&gt; and &lt;strong&gt;scikit-learn&lt;/strong&gt;, which do the heavy lifting.&lt;/p&gt;

&lt;h2&gt;
  
  
  The data is messier than you think
&lt;/h2&gt;

&lt;p&gt;Segmentra only asks for five columns, one row per product line of a sale:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Column&lt;/th&gt;
&lt;th&gt;What it holds&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;CustomerID&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Who bought&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;InvoiceNo&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;The order number&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;InvoiceDate&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;When they bought&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;Quantity&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;How many units&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;UnitPrice&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Price per unit&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Almost any shop system can export that. To test the app on real data, I used the public &lt;a href="https://archive.ics.uci.edu/dataset/352/online+retail" rel="noopener noreferrer"&gt;Online Retail dataset&lt;/a&gt; from the UCI Machine Learning Repository: 541,909 rows of sales from a UK online gift shop, between December 2010 and December 2011.&lt;/p&gt;

&lt;p&gt;I expected some cleanup. I didn't expect to throw away more than a quarter of the file. 135,080 rows had no customer ID at all. Those are real sales, but you can't put an anonymous buyer into a group. Another 8,905 rows were cancellations, 5,192 were exact duplicates, and 40 had a price of zero or less.&lt;/p&gt;

&lt;p&gt;After cleaning, 392,692 rows were left, belonging to 4,338 customers. One decision worth calling out: returns are removed rather than subtracted, so "spend" in this post means money spent on purchases, not net revenue.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn54sfpymmuk7a85e4a96.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn54sfpymmuk7a85e4a96.png" alt="Segmentra Insights page showing the data cleaning summary, including rows removed due to missing customer IDs, cancellations, duplicates, and invalid prices" width="800" height="220"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The cleaning summary in Segmentra's Insights page. Most of what gets removed is sales with no customer ID.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Turning a whole history into three numbers
&lt;/h2&gt;

&lt;p&gt;The core idea is called &lt;strong&gt;RFM&lt;/strong&gt;, and it's older than most machine learning. For every customer you calculate three things:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Recency&lt;/strong&gt;: how many days since their last purchase&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Frequency&lt;/strong&gt;: how many separate orders they placed&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Monetary&lt;/strong&gt;: how much they spent in total&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It's easier to see with an example. Imagine customer 1042 in a shop whose data ends on 30 June. They bought twice on 2 March (same invoice), once on 18 May and once on 27 June. They also returned an item in March.&lt;/p&gt;

&lt;p&gt;Here's what Segmentra does with that:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Recency is 4 days.&lt;/strong&gt; The clock starts on 1 July, the day after the data ends, and their last purchase was 27 June.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Frequency is 3 orders.&lt;/strong&gt; The two lines on 2 March share an invoice, so they count once.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Monetary is 81.00.&lt;/strong&gt; That's 15 + 24 + 12 + 30. The return is simply left out.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every one of the 4,338 customers ends up as a row of three numbers like this. That's what the clustering works with.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftmsjp5h5viua9cao8tiu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftmsjp5h5viua9cao8tiu.png" alt="Segmentra Methodology page illustrating how a customer's purchase history is used to calculate recency, frequency, and monetary value" width="799" height="427"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The same example, as it appears on Segmentra's Methodology page.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Letting KMeans find the groups
&lt;/h2&gt;

&lt;p&gt;KMeans is a simple algorithm: you tell it how many groups you want, and it puts each customer in the group whose "center" they're closest to. Two things tripped me up before it gave sensible results.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The numbers have to be on the same scale.&lt;/strong&gt; Spend runs into the thousands, while orders are usually under ten. Fed in raw, spend dominates and the other two numbers barely matter. So Segmentra standardizes all three first. There's also an optional log transform for data where a few huge spenders would otherwise get a group all to themselves.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;You have to pick K, the number of groups.&lt;/strong&gt; There's no single right answer, so Segmentra tries a range (2 to 6 by default) and scores each option with the &lt;em&gt;silhouette score&lt;/em&gt;. It runs from −1 to 1, where higher means the groups are more clearly separated.&lt;/p&gt;

&lt;p&gt;On the example data, two groups scored best at 0.69. I went with four anyway. Two groups just splits "still buying" from "gone", which a shop owner already knows. Four groups still scored 0.61, comfortably in "clearly separated" territory, and told a much more useful story. The app shows the recommendation but never overrides your choice.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgxlir3syo3y23u8mz482.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgxlir3syo3y23u8mz482.png" alt="Segmentra Insights page comparing silhouette scores for different numbers of customer clusters and highlighting the selected four-cluster solution" width="800" height="217"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;How the Insights page reports group quality for four groups.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The labels were correct, and completely useless
&lt;/h2&gt;

&lt;p&gt;KMeans hands back groups numbered 0, 1, 2 and 3. Nobody can do anything with "Cluster 2", so I needed names.&lt;/p&gt;

&lt;p&gt;My first attempt compared each group's typical customer with the typical customer overall, and produced labels like "More recent, higher frequency, higher value". Sounds fine. Then I ran it on the real data, and three of the four groups got that exact label.&lt;/p&gt;

&lt;p&gt;The labels weren't wrong. Compared with the average shopper, all three groups really were more recent, more frequent and bigger spenders. But a label that fits three groups tells you nothing about any of them.&lt;/p&gt;

&lt;p&gt;The fix was to compare the groups with &lt;strong&gt;each other&lt;/strong&gt; instead. If a group's typical customer has been away much longer than everyone else, it's "lapsed". The rest are ranked by how much their typical customer spends. Here's what that gives on the example data:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Group&lt;/th&gt;
&lt;th&gt;Customers&lt;/th&gt;
&lt;th&gt;Share of sales&lt;/th&gt;
&lt;th&gt;Their typical customer&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Top spenders&lt;/td&gt;
&lt;td&gt;13&lt;/td&gt;
&lt;td&gt;18.6%&lt;/td&gt;
&lt;td&gt;Bought 2 days before the data ends; 63 orders; spent 117,210&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;High-value regulars&lt;/td&gt;
&lt;td&gt;204&lt;/td&gt;
&lt;td&gt;29.1%&lt;/td&gt;
&lt;td&gt;5 days; 19 orders; 7,990&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Core customers&lt;/td&gt;
&lt;td&gt;3,054&lt;/td&gt;
&lt;td&gt;46.5%&lt;/td&gt;
&lt;td&gt;32 days; 3 orders; 826&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Lapsed one-time buyers&lt;/td&gt;
&lt;td&gt;1,067&lt;/td&gt;
&lt;td&gt;5.7%&lt;/td&gt;
&lt;td&gt;243 days; 1 order; 310&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;This is the table I wanted from the start. The top two groups are about 5% of customers but almost half of all sales. And roughly a quarter of the customer base bought once, months ago, and adds up to less than 6% of revenue. Those are things a shop owner can actually act on.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fl4uiud4bbwxrxcivf960.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fl4uiud4bbwxrxcivf960.png" alt="Segmentra Segments page displaying customer groups, their share of customers, share of sales, and detailed profiles of each segment" width="800" height="676"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The Segments page: one card per group, and the full profile of the selected one.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The 81-second problem
&lt;/h2&gt;

&lt;p&gt;The first working version took 81 seconds to analyze the example file. For a demo, that's an eternity. My assumption was that KMeans was the slow part, since it's the "machine learning" bit.&lt;/p&gt;

&lt;p&gt;I was wrong. When I timed each step separately, the clustering took about two seconds. Nearly all the rest was spent doing something boring: &lt;strong&gt;reading the Excel file&lt;/strong&gt;. The library I was using, openpyxl, is reliable but slow on large workbooks, and reading this one ate up almost all of those 81 seconds.&lt;/p&gt;

&lt;p&gt;Three changes fixed it:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;A faster Excel reader.&lt;/strong&gt; I switched to &lt;a href="https://github.com/dimastbk/python-calamine" rel="noopener noreferrer"&gt;python-calamine&lt;/a&gt;, which is written in Rust. The same file now loads in under 10 seconds. I compared the output of both readers on all 541,909 rows to make sure nothing changed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Checking the data once.&lt;/strong&gt; The data was being validated twice, once when loading and again during cleaning. Removing the duplicate check saved several seconds on big files.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No row-by-row loops.&lt;/strong&gt; Checking IDs and dates one value at a time in Python is slow. Doing it column-wide with pandas cut loading a 1-million-row CSV from 12.9 to 4 seconds.&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;File&lt;/th&gt;
&lt;th&gt;Before&lt;/th&gt;
&lt;th&gt;After&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Example Excel file (541,909 rows)&lt;/td&gt;
&lt;td&gt;81 s&lt;/td&gt;
&lt;td&gt;11 s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CSV, 500,000 rows&lt;/td&gt;
&lt;td&gt;16 s&lt;/td&gt;
&lt;td&gt;4.4 s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CSV, 1,000,000 rows&lt;/td&gt;
&lt;td&gt;36 s&lt;/td&gt;
&lt;td&gt;10 s&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;These were measured directly against the backend. In the browser, uploading and drawing the results adds some time, so the example takes about 20 seconds end to end.&lt;/p&gt;

&lt;p&gt;There was one catch. Excel files are really zipped XML, and malicious XML can pull tricks like "entity expansion" to crash a server. My old setup relied on a hardened XML parser to block that. With calamine, Segmentra now checks every XML part of an upload for those declarations &lt;em&gt;before&lt;/em&gt; reading it, and rejects the file if it finds one. Normal spreadsheets never contain them, so nobody notices.&lt;/p&gt;

&lt;h2&gt;
  
  
  Designing for people who don't read dashboards
&lt;/h2&gt;

&lt;p&gt;My first version of the interface explained everything. Sampling seeds, silhouette rules, notes about returns and currencies, repeated on almost every page. All of it was true, and all of it got in the way. Someone opening the app wants to see their customers, not a methods section.&lt;/p&gt;

&lt;p&gt;So I redesigned it around one rule: &lt;strong&gt;show the result first, keep the theory one click away.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;home page&lt;/strong&gt; shows the real finding from the example data. One bar shows how customers split across the groups and another shows how sales split, and the difference jumps out.&lt;/li&gt;
&lt;li&gt;On &lt;strong&gt;Analyze&lt;/strong&gt;, the result scrolls into view as soon as it's ready: "4 groups found among 4,338 customers", with each group's name and size.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Segments&lt;/strong&gt; gives every group its own card with its share of customers, share of sales and typical customer. Click one to see its full profile.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Insights&lt;/strong&gt; turns the silhouette score into plain words like "clearly separated", and shows the cleaning steps as a single colored bar.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Methodology&lt;/strong&gt; walks through the same customer 1042 example from above, with the exact formulas tucked into collapsible sections.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0g4sw18k7sq3yopon4kv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0g4sw18k7sq3yopon4kv.png" alt="Segmentra homepage displaying customer segmentation results, highlighting how 13 top-spending customers contribute nearly 19 percent of total sales" width="799" height="369"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The home page puts the main finding up front: 13 customers, 19% of all sales.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A few small fixes mattered more than I expected. Some labels were as small as 8 pixels and are now readable. And the spending chart used to put 4,303 of 4,338 customers in its first bar, because a handful of huge spenders stretched the scale. Now the last bar collects the top 5% on its own, and you can actually see how everyone else is spread out.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'd tell myself at the start
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Measure before you optimize.&lt;/strong&gt; I would happily have spent days tuning the clustering. The real problem was a file reader, and I only found it because I timed each step instead of guessing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Accurate isn't the same as useful.&lt;/strong&gt; The first group labels were technically correct and practically worthless. Whenever an output is "right" but nobody can act on it, it's worth asking what the user is really trying to decide.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Every sentence on the screen has a cost.&lt;/strong&gt; Each caveat I wrote was true. Repeated on every page, together they buried the one thing people came to see.&lt;/p&gt;

&lt;p&gt;It's also worth being honest about what Segmentra doesn't do:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It describes &lt;strong&gt;past&lt;/strong&gt; behavior. It doesn't predict who's about to leave or how much anyone will spend next month.&lt;/li&gt;
&lt;li&gt;The groups depend on your choices. A different number of groups, or the log option, can change them.&lt;/li&gt;
&lt;li&gt;Analyzing the example uses about 750 MB of memory on the server, which rules out the smallest free hosting plans.&lt;/li&gt;
&lt;li&gt;There are no accounts or saved history. Your results live in the browser tab and disappear when you reload.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it yourself
&lt;/h2&gt;

&lt;p&gt;Segmentra is open source under the MIT license. The code, setup steps and the exact data format are on GitHub: &lt;a href="https://github.com/JayantBansal900/customer-segmentation" rel="noopener noreferrer"&gt;JayantBansal900/customer-segmentation&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you have Python 3.12 and Node.js 24, it runs locally with two terminals (Windows PowerShell shown; on macOS or Linux use .venv/bin/python):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="c1"&gt;# Terminal 1: the backend&lt;/span&gt;
&lt;span class="n"&gt;python&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;m&lt;/span&gt; &lt;span class="n"&gt;venv&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;venv&lt;/span&gt;
&lt;span class="p"&gt;.&lt;/span&gt;\&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;venv&lt;/span&gt;\&lt;span class="nc"&gt;Scripts&lt;/span&gt;\&lt;span class="n"&gt;python&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exe&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;m&lt;/span&gt; &lt;span class="n"&gt;pip&lt;/span&gt; &lt;span class="n"&gt;install&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="n"&gt;requirements&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;backend&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;txt&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;e&lt;/span&gt; &lt;span class="s2"&gt;".[test]"&lt;/span&gt;
&lt;span class="p"&gt;.&lt;/span&gt;\&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;venv&lt;/span&gt;\&lt;span class="nc"&gt;Scripts&lt;/span&gt;\&lt;span class="n"&gt;python&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exe&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;m&lt;/span&gt; &lt;span class="n"&gt;uvicorn&lt;/span&gt; &lt;span class="n"&gt;backend&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;main&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="n"&gt;app&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;port&lt;/span&gt; &lt;span class="mi"&gt;8000&lt;/span&gt;

&lt;span class="c1"&gt;# Terminal 2: the frontend&lt;/span&gt;
&lt;span class="n"&gt;cd&lt;/span&gt; &lt;span class="n"&gt;frontend&lt;/span&gt;
&lt;span class="n"&gt;npm&lt;/span&gt; &lt;span class="n"&gt;ci&lt;/span&gt;
&lt;span class="nc"&gt;Copy&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Item&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;local&lt;/span&gt;
&lt;span class="n"&gt;npm&lt;/span&gt; &lt;span class="n"&gt;run&lt;/span&gt; &lt;span class="n"&gt;dev&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Open &lt;code&gt;http://127.0.0.1:5173&lt;/code&gt;, go to &lt;strong&gt;Analyze&lt;/strong&gt; and run the built-in example. About 20 seconds later you'll be looking at those same 13 customers.&lt;/p&gt;

&lt;p&gt;If you try it on your own sales data, I'd love to hear what you find.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The example data is the Online Retail dataset by Daqing Chen (2015), UCI Machine Learning Repository, &lt;a href="https://doi.org/10.24432/C5BW33" rel="noopener noreferrer"&gt;doi:10.24432/C5BW33&lt;/a&gt;, licensed CC BY 4.0.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>machinelearning</category>
      <category>react</category>
      <category>datascience</category>
    </item>
  </channel>
</rss>
