nowfound

Dev tools · May 19, 2022

AS

A stab at building my own string diffing library

Took a stab at building my own string diffing JS package. I built an interactive demo for TypeIt’s website (https://typeitjs.com/build-your-own) a while back. The approach I took to handle user input necessitated a way to calculate the difference between the versions of a user’s text input. I searched around for a package to help me out and found a couple of good ones (like fast-diff), but I either didn’t really like their API or didn’t want to take on a huge new dependency. Instead, I thought I’d give it a shot myself (famous last words). I dove into it having no real formal…

A stab at building my own string diffing library launched on May 19, 2022 with 29 votes, #829 of 2,942 launches that month and more than 75% of that year's launches.

In plain words

Striff is a JavaScript string diffing library designed to calculate differences between versions of text input. Built for developers who need diffing functionality without heavy dependencies, it uses JavaScript symbols to efficiently compare characters. The package is lightweight at just over 600 bytes when gzipped, making it suitable for projects where minimal bundle size matters.

written from the facts on this page · September 2026

From the sources

In the maker’s words, at launch

Took a stab at building my own string diffing JS package. I built an interactive demo for TypeIt’s website (https://typeitjs.com/build-your-own) a while back. The approach I took to handle user input necessitated a way to calculate the difference between the versions of a user’s text input. I searched…

Does a similar job

all alternatives →
  • Diff Text2024 · difftext.com · ▲216

    Dead simple text comparison

  • Secure private diffchecker with merge supportNov 2025 · diffchecker.dev · ▲17

    This brand new secure diffchecker. It's supports text/code diff upto 25k lines with character level diff all in browser. Supports one of the best inhouse diff merge feature. https://diffchecker.dev/ Now, add list diff - to compare two lists and show unique, common and diff between two lists. https://diffchecker.dev/list/ Add json diff, supports semantic json difference. https://diffchecker.dev/json/ With consistent, clean, minimal UI elements. Would you switch from other websites. Please checkout and provide feedback.

  • An experimental data-flow analysis tool for JavaScript2019 · fromjs.com · ▲95

    Find the origin of any character in the DOM

  • Lowdefy – Build internal tools with YAML on an open-source framework2021 · lowdefy.com · ▲107

    We're excited to announce Lowdefy V4, a full-stack web framework built on top of Next.js that simplifies building web applications, internal tools, admin panels, BI dashboards, and CRUD apps using YAML or JSON configuration files. New in V4: Next.js: Lowdefy now runs on top of the Next.js framework. All of Auth.js: App auth is now handled by Auth.js supported providers, adapters and callbacks and events, easy to configure, but all of which can be customized. Plugin extensibility: Apps can now be extended with any npm or pnpm workspace plugins. Our story: We have developed a simple…

  • Language aware diff on GitHub PRs2022 · github.com · ▲8

    Hi HN! We were frustrated with text diffs on GitHub PRs, so we made DiffLens (https://github.com/marketplace/difflens). DiffLens constructs an Abstract Syntax Tree for each file, and uses that semantic information to intelligently diff changes. Checkout the demo on our website (https://www.difflens.com). Getting started with DiffLens is easy! Simply install the app on your repositories. The next time you open a PR, DiffLens will automatically create a diff for your changes. If you review code, especially TypeScript, JavaScript or CSS, give DiffLens a try! We're…

  • Fast Jekyll Alternative in TypeScript with JSX2023 · github.com · ▲13

    Contribute to sdegutis/immaculatalibrary.com development by creating an account on GitHub.

More dev tools this month

the category →
  • /dev/null▲482

    a social network for devs

    Dev tools · 3d ago · dev-null.sh

  • open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.

    Dev tools · 28d ago · github.com

  • Contribute to reladraw/reladraw development by creating an account on GitHub.

    Dev tools · 26d ago · github.com

  • OpenBot▲362

    Grok Bot alternative: free, local, open-source, multiplayer

    Dev tools · 23d ago · openbot.run

  • Talanoa▲346

    Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…

    Dev tools · 20d ago · talanoa.email

  • CoreSpeed▲332

    One MCP for everything your agents need: apps, memory, tools

    Dev tools · 28d ago · corespeed.io

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, May 2022

the whole month →
  • Peerlist▲1,049

    A professional network w/ robust work profiles at its core

    Life & fun · 2022 · peerlist.io

  • Hey HN this is Daniel, I'm excited to share Airtop with the community! Airtop enables AI agents to seamlessly browse and automate any website — even ones with complex authentication like MFA or OAuth. Whether you need to scrape, interact with dynamic content, or automate tasks across multiple browsers, Airtop's cloud-based infrastructure makes it scalable and accessible. Why Airtop? — AI-Driven Web Automation: Automate interactions with any site through natural language commands even if they include human-in-the-loop scenarios. — Authentication Ready: Airtop handles websites requiring…

    Work · 2022 · airtop.ai

  • A whole new way to learn about a product’s journey

    Life & fun · 2022

  • Acapela▲715

    The central inbox for all your work tools

    Work · 2022 · acapela.com

  • Automagically reverse-engineer REST APIs via capturing traffic - alufers/mitmproxy2swagger

    Growth · 2022 · github.com

  • Claap▲685

    Async video collaboration for hybrid teams

    Work · 2022 · claap.io