<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Lakshmikanth Vallampati on Medium]]></title>
        <description><![CDATA[Stories by Lakshmikanth Vallampati on Medium]]></description>
        <link>https://medium.com/@kanth.vallampati?source=rss-a03bc9ce0f5f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*1aKL0y8e29CCAUOIUehA1g.jpeg</url>
            <title>Stories by Lakshmikanth Vallampati on Medium</title>
            <link>https://medium.com/@kanth.vallampati?source=rss-a03bc9ce0f5f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 05:59:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kanth.vallampati/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[High-performace directory emptiness checks in node.js with “is-empty-dir”]]></title>
            <link>https://javascript.plainenglish.io/high-performace-directory-emptiness-checks-in-node-js-with-is-empty-dir-b4d8d564f04e?source=rss-a03bc9ce0f5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/b4d8d564f04e</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Lakshmikanth Vallampati]]></dc:creator>
            <pubDate>Sat, 09 May 2026 16:21:23 GMT</pubDate>
            <atom:updated>2026-05-09T16:21:23.084Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’ve ever needed to check whether a directory is empty in Node.js, you’ve likely reached for empty-dir. Coming from the <strong>gulpjs</strong> organization, it’s a reliable staple of the ecosystem. It does exactly what it says on the tin, and for many use cases, it’s the logical place to start.</p><p>With the release of is-empty-dir<strong> v2.0.0</strong>, the goal wasn&#39;t to replace that foundation, but to give developers more edge.</p><p>At a glance, the two packages are cousins: they both answer the same fundamental question, provide async and sync support, and maintain a zero-dependency footprint. But while they share a common purpose, their execution paths diverge when you look at the details.</p><p>In this article, I’ll compare how these two utilities handle implementation quality, error management, and API design. If you’re looking for that extra bit of scalability and modern refinement in your 2026 stack, here is how is-empty-dir stacks up with the code to prove it.</p><blockquote>This is continuation to the below article:</blockquote><blockquote><a href="https://javascript.plainenglish.io/how-to-never-get-tripped-up-by-empty-directories-again-meet-is-empty-dir-6e68d67cb78f">https://javascript.plainenglish.io/how-to-never-get-tripped-up-by-empty-directories-again-meet-is-empty-dir-6e68d67cb78f</a></blockquote><h4>Installation</h4><pre>npm install is-empty-dir</pre><h4>Usage</h4><pre>const { isEmptyDir, isEmptyDirSync } = require(&#39;is-empty-dir&#39;);<br><br>// Async<br>const empty = await isEmptyDir(&#39;./dist&#39;, {<br>  ignore: [&#39;.DS_Store&#39;, /^\./, (f) =&gt; f === &#39;Thumbs.db&#39;],<br>  followSymlinks: false,<br>});<br><br>// Sync<br>const empty = isEmptyDirSync(&#39;./dist&#39;, { ignore: [&#39;.gitkeep&#39;] });<br><br>// Multiple paths<br>const allEmpty = await isEmptyDir([&#39;./dist&#39;, &#39;./tmp&#39;, &#39;./cache&#39;]);</pre><h3>1. How they read directories?</h3><p>empty-dir uses fs.readdir internally. fs.readdir reads the <strong>entire directory listing into memory</strong> before you can do anything with it. For a directory with 50,000 files, it allocates and returns all 50,000 filenames — even if you only need to know that the first file exists.</p><pre>// empty-dir internals (simplified)<br>fs.readdir(dirPath, function (err, files) {<br>  if (err) return cb(false);<br>  cb(null, files.filter(filterFn).length === 0);<br>});</pre><p>is-empty-dir uses fs.opendir instead. opendir returns a lazy Dir iterator. It reads entries <strong>one at a time</strong>, and the for await loop exits immediately on the first relevant entry. For a non-empty directory, this means a single I/O read — regardless of how many files exist.</p><pre>// is-empty-dir internals<br>const dir = await opendir(dirPath);<br>for await (const file of dir) {<br>  if (shouldIgnore(file.name, ignore)) continue;<br>  if (!followSymlinks &amp;&amp; file.isSymbolicLink()) continue;<br>  return false; // ← exits at the first non-ignored entry<br>}<br>return true;</pre><p><strong>The practical impact:</strong> on a directory with 100,000 files where the first entry is non-ignored, is-empty-dir does 1 read. empty-dir does 100,000.</p><h4>No extra stat call per entry</h4><p>empty-dir works with raw filenames (strings). To do anything beyond a name comparison, you need to call fs.stat separately for each entry — an extra syscall per file.</p><p>is-empty-dir uses Dirent objects, which opendir provides natively. A Dirent already knows whether an entry is a file, directory, or symlink — with no extra syscall.</p><h3>2. Error Handling</h3><p>This is where the two packages diverge most in philosophy. empty-dir prioritizes a &quot;never-fail&quot; approach, whereas is-empty-dir prioritizes technical accuracy.</p><h4>The Standard Approach</h4><p>In empty-dir, a missing directory, a file path passed by mistake, or a permission-denied error all return the same result: false.</p><pre>// empty-dir behavior<br>emptyDir(&#39;/path/does/not/exist&#39;, (err, isEmpty) =&gt; {<br>  console.log(err);     // null  ← no error raised<br>  console.log(isEmpty); // false ← silently treated as &quot;non-empty&quot;<br>});<br><br>emptyDir(&#39;/path/to/a/file.txt&#39;, (err, isEmpty) =&gt; {<br>  console.log(err);     // null<br>  console.log(isEmpty); // false<br>});</pre><p>Because it swallows these exceptions, the caller has no way to distinguish between a directory that actually has files and a path that simply doesn’t exist. You’re often forced to write a manual fs.exists check beforehand just to be sure.</p><h4>The Optimized Approach</h4><p>is-empty-dir gives you more edge by treating distinct failure states as distinct error conditions. It ensures that if the function returns false, you can be 100% certain the directory exists and is, in fact, not empty.</p><pre>// is-empty-dir behavior<br>await isEmptyDir(&#39;/non/existent/path&#39;);<br>// → throws: Error: Directory does not exist<br><br>await isEmptyDir(&#39;/path/to/file.txt&#39;);<br>// → throws: Error: Path is not a directory<br><br>await isEmptyDir(&#39;/protected/dir&#39;); <br>// → throws: Error: Permission denied (EACCES)</pre><p>Silent failures are a notorious source of production bugs. By surfacing these errors instead of masking them behind a false return, is-empty-dir removes the guesswork and prevents your application from silently misbehaving when the file system doesn&#39;t play nice.</p><h3>3. The ignore API: flexibility vs. a single function</h3><p>Both packages let you ignore certain files when checking. The difference is in how expressive that API is.</p><p>empty-dir accepts a single filter function. One pattern at a time. If you want to ignore multiple things, you write the composition yourself.</p><pre>emptyDir(&#39;./dist&#39;, (f) =&gt; f === &#39;.DS_Store&#39;, callback);</pre><p>is-empty-dir accepts an array of strings, RegExps, and functions — mixed freely. You can combine all three forms in one call. Passing an invalid pattern type (a number, an object) throws a descriptive TypeError immediately — rather than silently doing nothing.</p><pre>await isEmptyDir(&#39;./dist&#39;, {<br>  ignore: [<br>    &#39;.DS_Store&#39;,         // string — exact match<br>    /^Thumbs/,          // RegExp — pattern match<br>    (f) =&gt; f[0] === &#39;.&#39;, // function — custom logic<br>  ]<br>});</pre><h3>4. Symlink awareness</h3><p>empty-dir has no symlink handling. Whether a symlink is present in a directory, whether it&#39;s dangling, whether you want to follow it — none of this is addressable through the API.</p><p>is-empty-dir exposes a followSymlinks option:</p><pre>// Treat symlinks as invisible (default)<br>await isEmptyDir(&#39;./dir&#39;, { followSymlinks: false });<br><br>// Count symlinks as real entries<br>await isEmptyDir(&#39;./dir&#39;, { followSymlinks: true });</pre><p>When followSymlinks is false (the default), symlinks — including dangling ones pointing to non-existent targets — are skipped entirely. This is the safe default: a directory containing only a dangling symlink is treated as empty, which is usually the right behaviour.</p><h3>5. Multi-path support</h3><p>Both packages accept an array of paths and return true only if <strong>all</strong> of them are empty:</p><pre>// is-empty-dir<br>await isEmptyDir([&#39;./dist&#39;, &#39;./tmp&#39;, &#39;./cache&#39;]);<br><br>// empty-dir<br>emptyDir([&#39;./dist&#39;, &#39;./tmp&#39;, &#39;./cache&#39;], callback);</pre><p>The difference is in how is-empty-dir handles this under the hood. It iterates the array sequentially and <strong>short-circuits on the first non-empty directory</strong> — it doesn&#39;t check the remaining paths. empty-dir processes the full array before resolving.</p><h3>6. Callback support without sacrificing Promises</h3><p>Both packages support Node-style callbacks alongside Promises. is-empty-dir handles the dual-mode cleanly:</p><pre>// Promise style<br>const empty = await isEmptyDir(&#39;./dist&#39;);<br><br>// Callback style - options can be omitted<br>isEmptyDir(&#39;./dist&#39;, (err, isEmpty) =&gt; { ... });<br><br>// Callback style - with options<br>isEmptyDir(&#39;./dist&#39;, { ignore: [&#39;.DS_Store&#39;] }, (err, isEmpty) =&gt; { ... });</pre><p>When a callback is provided, the function returns undefined — not a Promise — so there&#39;s no silent Promise that could swallow errors.</p><h4>Final Thoughts</h4><p>empty-dir is a battle-tested utility that has served the community for years; it remains a safe, predictable default for many. However, if you&#39;re looking for more edge in your 2026 stack, is-empty-dir is where the transition happens.</p><p>By prioritizing strict error handling, modern API patterns, and predictable performance, it ensures your application doesn’t just “run” — it scales reliably without the hidden tax of silent failures. If precision matters to your workflow, it’s time to give is-empty-dir a spin.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b4d8d564f04e" width="1" height="1" alt=""><hr><p><a href="https://javascript.plainenglish.io/high-performace-directory-emptiness-checks-in-node-js-with-is-empty-dir-b4d8d564f04e">High-performace directory emptiness checks in node.js with “is-empty-dir”</a> was originally published in <a href="https://javascript.plainenglish.io/">JavaScript in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing is-deep-immutable — The only immutable check your modern app needs]]></title>
            <link>https://medium.com/@kanth.vallampati/introducing-is-deep-immutable-the-only-immutable-check-your-modern-app-needs-d10ae401e4c4?source=rss-a03bc9ce0f5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/d10ae401e4c4</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[redux]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Lakshmikanth Vallampati]]></dc:creator>
            <pubDate>Mon, 17 Nov 2025 11:06:13 GMT</pubDate>
            <atom:updated>2025-11-17T11:06:13.932Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introducing is-deep-immutable — The only immutable check your modern app needs</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iIexyMIfZewjXlMLpHA6Nw.png" /></figure><p>In a world powered by React, Redux, Vuex, and MobX, immutability is the bedrock of predictable, high-performance state management. We rely on it for structural sharing, efficient change detection (the whole “did it change?” question), and flawless memoization.</p><p>But if you’re relying on basic JavaScript checks or incomplete utility functions, you’re sitting on a <strong>state corruption time bomb.</strong></p><h4>Consider the lie of the “shallow freeze”:</h4><pre>// Looks safe, right?<br>const user = Object.freeze({<br>  id: 42,<br>  preferences: {<br>    theme: &#39;dark&#39;, // 👈 DANGER: This object is still mutable!<br>  }<br>});<br><br>// A single line of code, months later, causes a nightmare bug:<br>user.preferences.theme = &#39;light&#39;; <br><br>// Result: The state is mutated, but your shallow checks and component<br>// lifecycle methods (like React.memo or shouldComponentUpdate)<br>// falsely believe the object is unchanged. </pre><p>This silent state mutation is the source of the most maddening, intermittent bugs in complex applications. Your app breaks, but the debugger tells you nothing changed.</p><h3>Introducing is-deep-immutable: The Guardian of Your State</h3><p>Before <strong>is-deep-immutable</strong>, developers were forced to choose between three inadequate solutions:</p><ol><li><strong>Object.freeze() (The Shallow Lie):</strong> Only protects the first layer. Useless for any real-world state tree.</li><li><strong>The DIY Recursive Checker:</strong> You spend days writing a function that has to handle recursion, circular references (a stack overflow waiting to happen!), and exotic types like Map, Set, Date, and Proxy. It&#39;s a massive, fragile maintenance burden that you&#39;ll inevitably get wrong.</li><li><strong>The Over-Generalized Utility Library:</strong> Libraries like Lodash offer deep clone utilities, but their primary focus isn’t on <em>validation</em>. Using them for an immutability check is often an inefficient path, introducing unnecessary size and complexity for a single, critical purpose.</li></ol><p>What all these alternatives miss is the simple, authoritative answer to a complex question<strong>: Is this object, from root to leaf, <em>truly</em> unchangeable?</strong></p><p><strong>is-deep-immutable</strong> is a laser-focused, dependency-free solution built specifically for the rigor of modern application state validation. It is not a clone utility or a generic helper; it is a <strong>validation engine</strong> that ensures every node in your data structure is properly frozen and protected.</p><h3>Why It’s the Only Check You Need</h3><p>When comparing is-deep-immutable to manual checks or bloated utility libraries, its superiority comes down to <strong>completeness</strong> and <strong>confidence</strong>.</p><h4>Complete Deep Validation</h4><p>It doesn’t just check objects; it recursively traverses <strong>every</strong> nested structure: objects, arrays, Maps, and Sets. This eliminates the “ghost bugs” that occur when a mutation slips past a shallow check in a deeply nested property. You get guaranteed correctness from root to leaf.</p><h4>Robust Circular Reference Handling</h4><p>Complex data models often contain circular references (e.g., node A pointing back to node B). Manual recursion often results in stack overflow errors. is-deep-immutable safely detects and processes these cycles, ensuring the check is robust and works perfectly with any data structure you throw at it.</p><h4>Exotic Type Awareness</h4><p>The library is smart about native JavaScript types. It correctly identifies and manages types that are inherently immutable (like Date, RegExp, Function, and Symbol) versus those that require recursion. This precision ensures <strong>zero false positives</strong>—it only flags objects that can truly be mutated.</p><h4>Zero-Dependency Performance</h4><p>Built from the ground up to be lightweight and fast, is-deep-immutable carries no external library baggage. This means a minimal bundle size and lightning-fast execution, even when validating massive state trees, making it ideal for performance-critical applications.</p><h3>Simple Usage, Profound Impact</h3><p>Integrating is-deep-immutable is trivial, but the architectural confidence it provides is immense.</p><pre>import isDeepImmutable from &#39;is-deep-immutable&#39;;<br><br>// A perfectly frozen, deep-immutable object<br>const state = Object.freeze({ <br>  user: Object.freeze({ name: &#39;Alice&#39;, settings: Object.freeze({ notifications: true }) }) <br>});<br><br>isDeepImmutable(state); <br>// true<br><br>// The dangerous object from the example above:<br>const unsafeState = Object.freeze({ data: { count: 1 } });<br><br>isDeepImmutable(unsafeState); <br>// false (Because data.count is mutable!)</pre><p>This validation is invaluable for <strong>developer tooling, test suites, and internal sanity checks</strong> within your state management layer. It ensures that any data passed into your Redux store, MobX observable, or React component tree meets the non-negotiable contract of immutability.</p><h3>Stop Guessing. Start Guaranteeing.</h3><p>If you are serious about performance, predictable state, and reducing debugging time, you need tooling that validates your core assumptions. Relying on simple, shallow checks is no longer viable for sophisticated applications.</p><p><strong>is-deep-immutable</strong> is the specialized guardian your complex state needs.</p><ul><li>GitHub URL: <a href="https://github.com/opensly/is-deep-immutable">https://github.com/opensly/is-deep-immutable</a></li><li>NPM URL: <a href="https://www.npmjs.com/package/is-deep-immutable">https://www.npmjs.com/package/is-deep-immutable</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d10ae401e4c4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Never Get Tripped Up by Empty Directories Again: Meet is-empty-dir]]></title>
            <link>https://javascript.plainenglish.io/how-to-never-get-tripped-up-by-empty-directories-again-meet-is-empty-dir-6e68d67cb78f?source=rss-a03bc9ce0f5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/6e68d67cb78f</guid>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[npm]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Lakshmikanth Vallampati]]></dc:creator>
            <pubDate>Wed, 24 Sep 2025 04:28:56 GMT</pubDate>
            <atom:updated>2025-09-27T00:36:25.710Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9KXihqe0uMO1Q-vv_emGmA.png" /></figure><p>When building file-based tooling — whether scaffolding, cleaning up build artifacts, or managing plugin directories — you often need to check: is this directory empty (or not)? It sounds trivial, but naive approaches have pitfalls.</p><p>That’s where <strong>is-empty-dir</strong> comes in — a tiny, focused npm package whose only job is to reliably tell you whether a directory is empty. In this post, I’ll show you the problem space, how is-empty-dir solves it, and how you can adopt it in your toolchain.</p><h3>The Challenge: Checking if a Directory Is Empty in Node.js</h3><p>At first glance, one might write something like:</p><pre>const fs = require(&#39;fs&#39;).promises;<br><br>async function isDirEmpty(path) {<br>  const entries = await fs.readdir(path);<br>  return entries.length === 0;<br>}</pre><p>This works in many cases. But there are some pitfalls and edge cases:</p><ul><li><strong>Huge directories</strong> — if there are thousands of entries, reading everything into an array can be memory/time heavy.</li><li><strong>Hidden files</strong>, permission errors, symlinks, etc. — you want a check that fails gracefully, or has predictable behavior.</li><li><strong>Consistency</strong> — multiple parts of your toolchain may need this logic; duplicating subtleties can cause divergence and bugs.</li></ul><p>Some advanced techniques even use directory iterators (fs.opendir) to avoid listing the entire contents before concluding emptiness. <a href="https://futurestud.io/tutorials/node-js-check-if-a-directory-is-empty?utm_source=chatgpt.com">futurestud.io</a></p><p>If you Google “check if directory is empty Node.js”, you’ll find examples using fs.readdir, fs.opendir, or even trickier patterns (trying to rmdir, catching errors, etc.).</p><p>What’s missing is a well-tested, small utility you can just drop in and trust. That’s exactly the niche is-empty-dir fills.</p><h3>Introducing is-empty-dir</h3><p>is-empty-dir is an npm package whose sole responsibility is: given a directory path, tell you (true/false) whether that directory is empty. It abstracts away edge conditions, permissions, broken symlinks, and cross-platform quirks, so you don’t have to re-invent that logic.</p><ul><li>GitHub Repo: <a href="https://github.com/opensly/is-empty-dir">https://github.com/opensly/is-empty-dir</a></li><li>NPM Package: <a href="https://www.npmjs.com/package/is-empty-dir">https://www.npmjs.com/package/is-empty-dir</a></li></ul><h3>Why it’s useful</h3><ul><li><strong>Single responsibility</strong>: you don’t get extra baggage or features you don’t need.</li><li><strong>Reusability &amp; consistency</strong>: use the same logic in CLI tools, dev scripts, build pipelines.</li><li><strong>Predictable error handling</strong>: you can expect consistent behavior across Node versions and OSes.</li><li><strong>Small overhead</strong>: since the job is simple, the implementation is lightweight.</li></ul><p>(I couldn’t fetch the README from NPM just now due to a fetch error, but the package exists and serves this purpose.)</p><blockquote><strong>Note:</strong> There are other packages with similar aims (for example, is-dir-empty and empty-dir). But is-empty-dir is meant to be minimal and reliable; you should compare its API, edge-case handling, and maintenance to alternatives like those.</blockquote><h3>Example Usage</h3><p>Here’s how you might use is-empty-dir:</p><pre>const isEmptyDir = require(&#39;is-empty-dir&#39;);<br><br>(async () =&gt; {<br>  try {<br>    const empty = await isEmptyDir(&#39;./some/folder&#39;);<br>    if (empty) {<br>      console.log(&#39;Directory is empty — safe to delete or reuse.&#39;);<br>    } else {<br>      console.log(&#39;Directory has files or subdirectories.&#39;);<br>    }<br>  } catch (err) {<br>    console.error(&#39;Could not check directory emptiness:&#39;, err);<br>  }<br>})();</pre><p>You can also use it in scripts, pipelines, or conditional logic:</p><pre>if (await isEmptyDir(cacheDir)) {<br>  // skip cleanup or write fresh files<br>} else {<br>  // purge contents first<br>}</pre><p>Because is-empty-dir handles many of the low-level fs edge cases, you don’t have to sprinkle defensive code all over.</p><h3>Why Use is-empty-dir Instead of Writing Your Own?</h3><h4>1. You avoid subtle bugs</h4><p>Filesystem logic is full of corner cases. A small difference — e.g., how symlinks are handled, or whether hidden files should count — can bite you later.</p><h4>2. You keep your codebase DRY</h4><p>Instead of copying “is directory empty?” logic into multiple scripts, you have one source of truth.</p><h4>3. Maintenance &amp; versioning</h4><p>When Node.js evolves (new fs APIs, permission model changes, etc.), a focused package like is-empty-dir can update its implementation accordingly without you needing to revisit every script.</p><h4>4. Focused performance</h4><p>Since is-empty-dir does just one thing, its implementation can optimize for that case (e.g. early bailout when a single entry is found) rather than handling a wide variety of use cases.</p><h3>Where is-empty-dir Fits in Your Toolchain</h3><p>Here are a few real-world scenarios where this simple utility shines:</p><ul><li><strong>Project scaffolding tools</strong> — before writing templates into a folder, verify it’s empty to avoid overwriting.</li><li><strong>Build cleanups</strong> — after a build step, you may want to remove empty directories recursively.</li><li><strong>Plugin or module directories</strong> — for plugin systems that dynamically load modules, you may want to skip “empty” paths.</li><li><strong>Cache folders</strong> — in a caching layer, detect when a cache is unused (empty) and skip operations.</li></ul><h3>Tips &amp; Best Practices</h3><ul><li>Always handle exceptions: the directory may not exist, or you may lack permissions — catch and handle those.</li><li>Be clear about your definition of “empty” — do you count hidden files (e.g. .gitkeep)? You may want to filter out some entries.</li><li>In recursive cleanup routines, you can combine is-empty-dir with directory traversal: purge files, then remove directories that become empty.</li><li>Use it early in your CI or dev scripts to guard dangerous operations (e.g. deleting a directory that inadvertently had content).</li></ul><h3>Conclusion</h3><p>At first glance, “is this directory empty?” is a trivial question. But in practice, it can hide edge cases and lead to bugs in file-based workflows. That’s why a small, focused utility like <strong>is-empty-dir</strong> can add more value than its size suggests.</p><p>If you’re building CLI tools, scaffolding, build pipelines, or file-based modules in Node.js, consider dropping is-empty-dir in and letting it handle the subtle logic. It keeps your code clean, your intent explicit, and your developer life a little easier.</p><h3>A message from our Founder</h3><p><strong>Hey, </strong><a href="https://linkedin.com/in/sunilsandhu"><strong>Sunil</strong></a><strong> here.</strong> I wanted to take a moment to thank you for reading until the end and for being a part of this community.</p><p>Did you know that our team run these publications as a volunteer effort to over 3.5m monthly readers? <strong>We don’t receive any funding, we do this to support the community. ❤️</strong></p><p>If you want to show some love, please take a moment to <strong>follow me on </strong><a href="https://linkedin.com/in/sunilsandhu"><strong>LinkedIn</strong></a><strong>, </strong><a href="https://tiktok.com/@messyfounder"><strong>TikTok</strong></a>, <a href="https://instagram.com/sunilsandhu"><strong>Instagram</strong></a>. You can also subscribe to our <a href="https://newsletter.plainenglish.io/"><strong>weekly newsletter</strong></a>.</p><p>And before you go, don’t forget to <strong>clap</strong> and <strong>follow</strong> the writer️!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6e68d67cb78f" width="1" height="1" alt=""><hr><p><a href="https://javascript.plainenglish.io/how-to-never-get-tripped-up-by-empty-directories-again-meet-is-empty-dir-6e68d67cb78f">How to Never Get Tripped Up by Empty Directories Again: Meet is-empty-dir</a> was originally published in <a href="https://javascript.plainenglish.io/">JavaScript in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[deep-equal-check — The Fast, Reliable Deep Equality Checker for JavaScript]]></title>
            <link>https://javascript.plainenglish.io/deep-equal-check-the-fast-reliable-deep-equality-checker-for-javascript-380279334525?source=rss-a03bc9ce0f5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/380279334525</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[typescript]]></category>
            <dc:creator><![CDATA[Lakshmikanth Vallampati]]></dc:creator>
            <pubDate>Sun, 10 Aug 2025 15:59:01 GMT</pubDate>
            <atom:updated>2025-08-15T00:48:56.134Z</atom:updated>
            <content:encoded><![CDATA[<h3>deep-equal-check — The Fast, Reliable Deep Equality Checker for JavaScript</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_WiGu7mk8ArJreZZlcvCvw.png" /></figure><p>When working with JavaScript or TypeScript, checking equality between two values is a deceptively tricky problem. Sure, === works fine for primitives, but what about:</p><ul><li>Nested objects with different property orders?</li><li>Arrays containing other arrays?</li><li>Dates, regex patterns, Maps, or Sets?</li><li>Deeply nested structures with circular references?</li></ul><p>The truth is, equality checks are one of those “looks simple until you actually do it” problems. Many developers either roll their own quick function (that breaks on edge cases) or bring in a heavyweight library with more features than they’ll ever use.</p><p>That’s where <a href="https://www.npmjs.com/package/deep-equal-check"><strong>deep-equal-check</strong></a> comes in — a minimal, blazing-fast, and zero-dependency deep equality checker designed for real-world JavaScript needs.</p><h3>Why I Built deep-equal-check</h3><p>In my own projects, I noticed that most deep equality libraries fell into one of three camps:</p><ol><li><strong>Too slow</strong> — fine for small objects, but painfully slow for larger, nested structures.</li><li><strong>Too big</strong> — packed with extras I didn’t need, which increased bundle size unnecessarily.</li><li><strong>Too fast (but incomplete)</strong> — benchmarks may look great, but they fail on real-world cases like <strong>circular references</strong>, leading to incorrect results or runtime errors.</li></ol><p>So I set out to build something that was:</p><ul><li><strong>Fast</strong> — Optimized for real-world performance.</li><li><strong>Accurate</strong> — Handles tricky cases like Dates, RegExps, Maps/Sets, and circular references.</li><li><strong>Lightweight</strong> — Zero dependencies, tiny footprint.</li><li><strong>Predictable</strong> — No hidden “magic,” just strict, correct comparisons.</li></ul><h3>Installation</h3><pre>npm install deep-equal-check</pre><h3>Usage</h3><pre>import deepEqual from &#39;deep-equal-check&#39;;<br><br>const obj1 = { name: &#39;Alice&#39;, tags: [&#39;dev&#39;, &#39;writer&#39;], date: new Date(2023, 5, 1) };<br>const obj2 = { tags: [&#39;dev&#39;, &#39;writer&#39;], name: &#39;Alice&#39;, date: new Date(2023, 5, 1) };<br><br>console.log(deepEqual(obj1, obj2)); // true</pre><p>It works seamlessly with:</p><ul><li>Primitives (string, number, boolean, null, undefined)</li><li>Objects (with property order ignored)</li><li>Arrays</li><li>Dates</li><li>RegExps</li><li>Maps and Sets</li><li>Nested and circular references</li></ul><h3>Performance Benchmarks</h3><p>I benchmarked <strong>deep-equal-check</strong> against popular alternatives:</p><ul><li>LibraryOps/sec (Higher is better)</li><li>deep-equal-check <strong>~1,000,000</strong></li><li>fast-deep-equal ~1,200,000</li><li>lodash.isEqual ~200,000</li><li>deep-eql ~150,000</li></ul><p><em>(Benchmarks run on Node.js 20, comparing complex nested objects)</em></p><p>While <strong>fast-deep-equal</strong> is faster, but it does not support circular references, which makes it unsuitable for certain real-world scenarios. <strong>deep-equal-check</strong> aims for the right balance between speed and correctness.</p><h3>Finally</h3><p>In the ever-growing JavaScript ecosystem, performance and reliability matter more than ever. <strong>deep-equal-check</strong> was built to strike the perfect balance — fast enough for performance-critical applications, yet robust enough to handle the edge cases that break other libraries. Whether you are building frontend interfaces, backend APIs, or complex data-driven applications, it delivers consistent results without bloating your bundle or sacrificing accuracy. If you are ready to replace fragile custom equality functions or heavyweight dependencies, give <strong>deep-equal-check</strong> a try and see how effortless correct deep comparisons can be.</p><p>If you find <strong>deep-equal-check</strong> useful, please <a href="https://github.com/opensly/deep-equal-check">star the project on GitHub</a>, raise pull requests to contribute, or open issues for improvements. Your feedback and support directly help make it faster, smarter, and more reliable for the entire developer community.</p><h3>A message from our Founder</h3><p><strong>Hey, </strong><a href="https://linkedin.com/in/sunilsandhu"><strong>Sunil</strong></a><strong> here.</strong> I wanted to take a moment to thank you for reading until the end and for being a part of this community.</p><p>Did you know that our team run these publications as a volunteer effort to over 3.5m monthly readers? <strong>We don’t receive any funding, we do this to support the community. ❤️</strong></p><p>If you want to show some love, please take a moment to <strong>follow me on </strong><a href="https://linkedin.com/in/sunilsandhu"><strong>LinkedIn</strong></a><strong>, </strong><a href="https://tiktok.com/@messyfounder"><strong>TikTok</strong></a>, <a href="https://instagram.com/sunilsandhu"><strong>Instagram</strong></a>. You can also subscribe to our <a href="https://newsletter.plainenglish.io/"><strong>weekly newsletter</strong></a>.</p><p>And before you go, don’t forget to <strong>clap</strong> and <strong>follow</strong> the writer️!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=380279334525" width="1" height="1" alt=""><hr><p><a href="https://javascript.plainenglish.io/deep-equal-check-the-fast-reliable-deep-equality-checker-for-javascript-380279334525">deep-equal-check — The Fast, Reliable Deep Equality Checker for JavaScript</a> was originally published in <a href="https://javascript.plainenglish.io/">JavaScript in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Aesthetics of the IVORY Color Palette: Where Clarity Meets Emotion]]></title>
            <link>https://www.designsystemscollective.com/the-aesthetics-of-the-ivory-color-palette-where-clarity-meets-emotion-92cc4c0ed37f?source=rss-a03bc9ce0f5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/92cc4c0ed37f</guid>
            <category><![CDATA[color-palette]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[user-interface]]></category>
            <category><![CDATA[user-experience]]></category>
            <category><![CDATA[design-systems]]></category>
            <dc:creator><![CDATA[Lakshmikanth Vallampati]]></dc:creator>
            <pubDate>Sun, 29 Jun 2025 05:40:02 GMT</pubDate>
            <atom:updated>2025-06-30T17:44:14.383Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dj_3y0sURnVNqF6tepZBmg.png" /><figcaption>IVORY UI — Color Palette</figcaption></figure><p>In today’s world of hyper-saturated visuals and sensory overload, the <strong>IVORY color palette (</strong><a href="https://ivoryui.com/docs">https://ivoryui.com/docs</a><strong>) </strong>emerges as a refreshing answer — <strong>calm, clear, and deeply human</strong>. Carefully crafted for digital products, the IVORY palette embraces a modern aesthetic grounded in softness, structure, and semantic purpose.</p><p>This article takes a closer look at the philosophy behind the IVORY palette and how it balances elegance with utility across UI design.</p><h3>A System, Not Just a Spectrum</h3><p>The IVORY palette isn’t just a collection of hex codes — it’s a <strong>design language</strong>. Each of its 11 core color families (gray, red, pink, purple, indigo, blue, cyan, teal, green, yellow, orange) features <strong>10 steps</strong> — from gentle tints to bold shades — providing clarity and control across design layers.</p><p>Each color step has a <strong>purpose</strong>:</p><ul><li>Shades 0 to 2: <strong>Backgrounds</strong>, <strong>tints</strong>, <strong>hover layers</strong></li><li>Shades 3 to 5: <strong>Surface accents</strong>, <strong>disabled states</strong></li><li>Shades 6 to 9: <strong>Primary actions</strong>, <strong>bold text</strong>, <strong>active borders</strong></li></ul><p>This structured gradient ensures consistency across themes and modes — light or dark, subtle or expressive.</p><h3>Why “Ivory”?</h3><p>The name “Ivory” captures the <strong>essence of warmth and minimalism</strong>. Unlike pure white, ivory implies softness — the kind that doesn’t fatigue the eye but gently <strong>supports legibility and focus</strong>. It’s a nod to natural tones that feel human and comforting — qualities often missing in overly technical design systems.</p><p>It’s not just a palette — it’s a mood.</p><h3>Aesthetic Values</h3><h4>1. Softness over Saturation</h4><p>IVORY avoids harsh neon or overly saturated hues. Even its reds and oranges are designed with <strong>balance</strong>, to alert without alarming. The palette evokes <strong>calm confidence</strong> — ideal for apps in wellness, finance, education, and SaaS.</p><h4>2. Emotional Range</h4><p>Each color family is expressive:</p><ul><li><strong>Blue</strong> for clarity and trust</li><li><strong>Green</strong> for growth and safety</li><li><strong>Red</strong> for urgency, with compassion</li><li><strong>Yellow &amp; Orange</strong> for energy, not aggression</li></ul><p>Together, they create an <strong>emotional toolkit</strong> — enabling designers to communicate meaning through tone, not just shape or type.</p><h4>3. Clarity for UX</h4><p>Accessibility is built-in. The palette provides excellent <strong>contrast options</strong> for text, icons, and buttons. It’s compatible with WCAG standards, allowing for consistent use across light/dark modes without color blindness confusion.</p><h3>Built for Scale, Styled for Personality</h3><p>The IVORY palette works seamlessly in systems like:</p><ul><li>Tailwind CSS</li><li>Figma Tokens plugin</li><li>CSS Variables / Design Tokens</li><li>Angular, React, or native mobile systems</li></ul><p>It can be themeable, brandable, and extended — yet its <strong>aesthetic fingerprint</strong> remains distinct: <strong>clean, human-centered, and quietly confident</strong>.</p><h3>In Summary</h3><p>The IVORY color palette isn’t loud — and that’s its superpower. It brings visual harmony to product interfaces by favoring <strong>restraint over chaos</strong>, <strong>emotion over raw data</strong>, and <strong>clarity over gimmick</strong>.</p><p>It’s a palette for teams that care — about usability, accessibility, and the emotional tone of their product.</p><p><strong>IVORY is where modern meets meaningful.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=92cc4c0ed37f" width="1" height="1" alt=""><hr><p><a href="https://www.designsystemscollective.com/the-aesthetics-of-the-ivory-color-palette-where-clarity-meets-emotion-92cc4c0ed37f">The Aesthetics of the IVORY Color Palette: Where Clarity Meets Emotion</a> was originally published in <a href="https://www.designsystemscollective.com/">Design Systems Collective</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing is-true-regex: The Most Reliable Way to Detect RegExp Objects in JavaScript and…]]></title>
            <link>https://javascript.plainenglish.io/introducing-is-true-regex-the-most-reliable-way-to-detect-regexp-objects-in-javascript-and-9fd1f7f0284b?source=rss-a03bc9ce0f5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/9fd1f7f0284b</guid>
            <category><![CDATA[regular-expressions]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Lakshmikanth Vallampati]]></dc:creator>
            <pubDate>Tue, 17 Jun 2025 16:59:57 GMT</pubDate>
            <atom:updated>2025-08-15T00:49:00.008Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introducing is-true-regex: The Most Reliable Way to Detect RegExp Objects in JavaScript and TypeScript</h3><p>JavaScript developers often need to check whether a value is a regular expression (RegExp) object. It sounds simple, but in reality, this task can be surprisingly tricky and error-prone. That’s why I created is-true-regex, an npm package designed to accurately and securely detect genuine RegExp objects — even in the most complex scenarios.</p><p>In this article, I’ll explain why naive checks fail, what edge cases you should care about, and how is-true-regex solves these problems with zero dependencies and TypeScript support.</p><h3>Why Detecting RegExp Objects Is Harder Than You Think</h3><p>At first glance, you might think checking if a value is a regex is as easy as:</p><pre>value instanceof RegExp</pre><p>Or maybe:</p><pre>Object.prototype.toString.call(value) === &#39;[object RegExp]&#39;</pre><p>Unfortunately, these approaches have pitfalls:</p><ul><li>Cross-realm issues: If your code runs across iframes or different JavaScript contexts, instanceof can fail because each realm has its own RegExp constructor.</li><li>Spoofing with Proxies or Symbol.toStringTag: Malicious or buggy code can fake the toStringTag or use proxies to trick naive checks.</li><li>Subclassed RegExp: Some libraries subclass RegExp for custom behavior, breaking simple checks.</li><li>Frozen or sealed objects and getters that throw: These can cause runtime errors or false negatives.</li></ul><p>If your application depends on correctly identifying regex objects — especially in security-sensitive contexts or libraries — these edge cases matter a lot.</p><h3>Meet is-true-regex: Accurate, Secure, and Lightweight</h3><p>is-true-regex is designed to handle all these tricky cases with a robust, zero-dependency implementation. Here’s what makes it stand out:</p><ul><li>Cross-realm safe: Works correctly even if the regex comes from another iframe or realm.</li><li>Spoof-proof: Detects and rejects fake regex objects that try to spoof Symbol.toStringTag or use proxies.</li><li>Handles subclassing: Recognizes objects that inherit from RegExp.</li><li>Safe with frozen/sealed objects and throwing getters: Won’t crash or give false positives.</li><li>TypeScript support: Comes with type guards for safer, more expressive code.</li><li>Zero dependencies: Small, fast, and secure without any external packages.</li></ul><h3>How to Use is-true-regex</h3><p>Getting started is simple. Install it via npm:</p><pre>npm install is-true-regex</pre><p>Then use it in your JavaScript or TypeScript code:</p><pre>import isTrueRegex from &#39;is-true-regex&#39;;<br><br>console.log(isTrueRegex(/abc/)); // true<br>console.log(isTrueRegex(&#39;not a regex&#39;)); // false<br>console.log(isTrueRegex(new Proxy(/abc/, {}))); // false</pre><p>In TypeScript, it acts as a type guard:</p><pre>import isTrueRegex from &#39;is-true-regex&#39;;<br><br>function process(value: unknown) {<br>  if (isTrueRegex(value)) {<br>    // TypeScript knows `value` is a RegExp here<br>    console.log(value.source);<br>  }<br>}</pre><h3>Why Choose is-true-regex Over Other Packages?</h3><p>There are other regex detection packages out there, but most don’t cover all the edge cases or security concerns. For example:</p><ul><li>Some rely solely on instanceof, which fails cross-realm.</li><li>Others check toStringTag without guarding against spoofing.</li><li>Many don’t handle subclassed regex or frozen objects gracefully.</li></ul><p>is-true-regex was built with these pitfalls in mind, making it the safest and most reliable choice for your projects.</p><h3>Behind the Scenes: How It Works</h3><p>Without diving too deep, is-true-regex uses a combination of:</p><ul><li>Careful prototype chain inspection.</li><li>Safe property access with try-catch to avoid throwing getters.</li><li>Checks against known spoofing techniques.</li><li>Validation of internal slots where possible.</li></ul><p>This approach ensures accuracy without sacrificing performance or safety.</p><h3>It’s open source</h3><p><strong>is-true-regex</strong> is open-source and available on GitHub: <a href="https://github.com/opensly/is-true-regex/">https://github.com/opensly/is-true-regex/</a></p><p>Feel free to report issues, or contribute improvements!</p><p>Happy coding! 🚀<br><em>If you found this article helpful, please share it with your developer friends and follow me for more open-source tips and tools.</em></p><h3>A message from our Founder</h3><p><strong>Hey, </strong><a href="https://linkedin.com/in/sunilsandhu"><strong>Sunil</strong></a><strong> here.</strong> I wanted to take a moment to thank you for reading until the end and for being a part of this community.</p><p>Did you know that our team run these publications as a volunteer effort to over 3.5m monthly readers? <strong>We don’t receive any funding, we do this to support the community. ❤️</strong></p><p>If you want to show some love, please take a moment to <strong>follow me on </strong><a href="https://linkedin.com/in/sunilsandhu"><strong>LinkedIn</strong></a><strong>, </strong><a href="https://tiktok.com/@messyfounder"><strong>TikTok</strong></a>, <a href="https://instagram.com/sunilsandhu"><strong>Instagram</strong></a>. You can also subscribe to our <a href="https://newsletter.plainenglish.io/"><strong>weekly newsletter</strong></a>.</p><p>And before you go, don’t forget to <strong>clap</strong> and <strong>follow</strong> the writer️!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9fd1f7f0284b" width="1" height="1" alt=""><hr><p><a href="https://javascript.plainenglish.io/introducing-is-true-regex-the-most-reliable-way-to-detect-regexp-objects-in-javascript-and-9fd1f7f0284b">Introducing is-true-regex: The Most Reliable Way to Detect RegExp Objects in JavaScript and…</a> was originally published in <a href="https://javascript.plainenglish.io/">JavaScript in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How the New CSS attr() Enables Dynamic Styling and Reduces JavaScript Overhead]]></title>
            <link>https://medium.com/@kanth.vallampati/how-the-new-css-attr-enables-dynamic-styling-and-reduces-javascript-overhead-ddb7c056d6c1?source=rss-a03bc9ce0f5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/ddb7c056d6c1</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Lakshmikanth Vallampati]]></dc:creator>
            <pubDate>Tue, 17 Jun 2025 16:36:57 GMT</pubDate>
            <atom:updated>2025-06-17T16:36:57.210Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Kgp5FSwd6KZLus0_kDBXwQ.png" /></figure><p>The CSS attr() function has long been a niche feature primarily used to insert attribute values as strings in the content property of pseudo-elements. However, recent advancements have transformed attr() into a powerful tool that can be leveraged for dynamic styling across a wide range of CSS properties. This evolution not only unlocks new creative possibilities for developers but also significantly reduces the need for JavaScript to manipulate styles based on element attributes. In this article, we explore how the new CSS attr() function works, its benefits, and why it represents a major step forward in front-end development.</p><h3>What is the CSS attr() Function?</h3><p>The attr() function in CSS retrieves the value of an HTML attribute from the selected element and uses it within CSS property values. Traditionally, its use was limited to the content property of pseudo-elements and only returned string values. This meant that dynamic styling based on attribute values often required JavaScript to read those attributes and apply styles programmatically.</p><p>The modernized attr() syntax looks like this:</p><pre>property: attr(attribute-name type?, fallback-value?);</pre><ul><li>attribute-name: The name of the HTML attribute to retrieve.</li><li>type (optional): Specifies how the attribute value should be parsed (e.g., &lt;color&gt;, &lt;length&gt;, &lt;number&gt;, etc.).</li><li>fallback-value (optional): A value to use if the attribute is missing or invalid.</li></ul><h3>The Major Upgrade: Beyond Strings and Content</h3><p>The key innovation in the new attr() function is its ability to:</p><ul><li>Be used in any CSS property, not just content.</li><li>Parse attribute values into specific CSS data types like colors, lengths, numbers, percentages, and more.</li><li>Work with custom properties (--variables), enabling cascading and inheritance.</li><li>Provide fallback values for missing or invalid attributes.</li></ul><p>This means you can now write CSS that directly reflects attribute values for dynamic styling without any JavaScript intervention. For instance, you can style backgrounds, font sizes, transforms, and even complex properties like view-transition-name based on attributes:</p><pre>.card {<br>  view-transition-name: attr(id type(&lt;custom-ident&gt;), none);<br>  background-color: attr(data-bg color, red);<br>  font-size: attr(data-size px, 16px);<br>}</pre><p>This was previously only achievable by writing JavaScript to read attributes and then manipulate styles or CSS variables.</p><h3>How This Reduces JavaScript Overhead</h3><p>Before this upgrade, developers often relied on JavaScript to dynamically style elements based on attribute values. This involved:</p><ul><li>Querying the DOM for elements.</li><li>Reading attribute values.</li><li>Applying inline styles or updating CSS variables via script.</li><li>Handling updates when attributes changed.</li></ul><p>All these steps add complexity, increase script size, and can impact performance, especially on pages with many elements or frequent updates.</p><p>With the enhanced attr() function:</p><ul><li>Styling logic moves back to CSS, the natural place for presentation.</li><li>The browser handles attribute retrieval and parsing natively, which is more efficient.</li><li>There is no need for JavaScript listeners or DOM manipulation for attribute-based styling.</li><li>CSS remains declarative, improving maintainability and separation of concerns.</li></ul><p>For example, instead of writing JavaScript like this:</p><pre>document.querySelectorAll(&#39;.item&#39;).forEach(el =&gt; {<br>  el.style.color = el.getAttribute(&#39;data-color&#39;) || &#39;black&#39;;<br>});</pre><p>You can simply write CSS:</p><pre>.item {<br>  color: attr(data-color color, black);<br>}</pre><p>This reduces JavaScript overhead, improves performance, and simplifies codebases.</p><h3>Practical Use Cases and Examples</h3><h4>1. Dynamic Text Color Based on Attribute</h4><pre>&lt;button data-text-color=&quot;red&quot;&gt;Click Me&lt;/button&gt;<br>button {<br>  color: attr(data-text-color color, black);<br>}</pre><p>The button text color changes dynamically based on the data-text-color attribute.</p><h4>2. Responsive Width and Height</h4><pre>&lt;div data-width=&quot;300&quot; data-height=&quot;150&quot;&gt;&lt;/div&gt;<br>div {<br>  width: attr(data-width px, 100px);<br>  height: attr(data-height px, 100px);<br>}</pre><p>The div’s size adapts to the attribute values without any JavaScript.</p><h4>3. Background Color with Fallback</h4><pre>&lt;div data-bg=&quot;lime&quot;&gt;Colored background&lt;/div&gt;<br>div {<br>  background-color: attr(data-bg color, red);<br>}</pre><p>If data-bg is missing, the background defaults to red.</p><h4>4. View Transition Names for Cards</h4><pre>&lt;div class=&quot;card&quot; id=&quot;card-1&quot;&gt;&lt;/div&gt;<br>&lt;div class=&quot;card&quot; id=&quot;card-2&quot;&gt;&lt;/div&gt;<br>.card {<br>  view-transition-name: attr(id type(&lt;custom-ident&gt;), none);<br>}</pre><p>Each card gets a unique transition name based on its id attribute, enabling smooth animations without JS.</p><h3>Browser Support and Considerations</h3><p>The modern attr() function is an experimental technology with growing support in browsers like Chrome v133+. However, support is not yet universal.</p><h3>Conclusion</h3><p>The new CSS attr() function is a game-changer for dynamic styling. By enabling attribute values to be directly parsed and applied in any CSS property, it empowers developers to reduce JavaScript overhead, streamline code, and improve performance. This shift promotes a cleaner separation of concerns, with styling logic residing in CSS and behavior in JavaScript.</p><p>As browser support matures, adopting the modern attr() function will become a best practice for attribute-driven styling, offering more maintainable and efficient front-end code.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ddb7c056d6c1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rethinking Agile Velocity Charts: A Practical Approach for Modern Teams]]></title>
            <link>https://medium.com/design-bootcamp/rethinking-agile-velocity-charts-a-practical-approach-for-modern-teams-e4953343bbd3?source=rss-a03bc9ce0f5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/e4953343bbd3</guid>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[project-management]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[Lakshmikanth Vallampati]]></dc:creator>
            <pubDate>Wed, 11 Jun 2025 08:01:51 GMT</pubDate>
            <atom:updated>2025-08-30T11:03:33.475Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SoBAH2yyzokgaJNPbwBh7g.png" /></figure><h3>Introduction</h3><p>Agile velocity charts are a staple in Scrum and Kanban teams, helping visualize how much work a team delivers sprint over sprint. Traditionally, these charts focus on story points or tasks a team commits to and completes. But as Agile practices evolve — especially in hybrid, DevOps, and operational teams — there’s a growing need for richer, more actionable metrics.</p><p>In this article, I’ll share a reimagined approach to velocity charts that better reflects the realities of modern Agile teams. By focusing on man-days — the actual person-days available, planned, and spent — you gain deeper insights into team performance, adaptability, and capacity, helping teams and stakeholders make smarter decisions.</p><h3>The Limitations of Traditional Velocity Charts</h3><h4>Standard velocity charts typically track:</h4><ul><li>Committed Work: What the team plans to deliver at the start of the sprint.</li><li>Completed Work: What the team actually delivers by the end.</li></ul><h4>While useful, this approach has limitations:</h4><ul><li>It doesn’t account for changes in scope during the sprint.</li><li>It ignores team capacity (how much work the team could realistically handle).</li><li>It rarely considers actual effort (hours or days logged), which can highlight estimation gaps or process inefficiencies.</li></ul><h3>A Modern, Four-Dimensional Velocity Chart</h3><p>To address these gaps, I propose a velocity chart that includes:</p><p><strong>Capacity (Person-Days)</strong><br>The total number of available working days for the team in a sprint, adjusted for vacations, holidays, and other commitments. This serves as the ceiling for realistic planning.<br><em>Example: A team of 6 people in a 10-day sprint theoretically has 60 person-days, but with 2 people taking 3 vacation days each, the actual capacity drops to 54.</em></p><p><strong>Work Planned (Person-Days)</strong><br>The estimated effort, in person-days, for all work the team agrees to tackle in the sprint. This includes the initial sprint commitment, plus any additional tasks brought in as priorities shift.<br><em>Example: The team commits to 40 person-days of work during sprint planning. Mid-sprint, a critical bug is added requiring 6 person-days, raising the planned total to 46.</em></p><p><strong>Work Completed (Person-Days)</strong><br>The estimated effort, in person-days, for all work actually finished by the sprint’s end. This excludes incomplete or abandoned tickets, even if significant effort was invested.<br><em>Example: Out of 46 planned person-days, the team finishes 38. Two features (worth 6 person-days) were started but not completed, and a bug fix (2 person-days) was abandoned after discovery of a duplicate.</em></p><p><strong>Actual Effort (Person-Days)</strong><br>The total logged time spent by the team, converted into person-days (e.g., 1 person-day = 8 hours). This highlights the true investment of effort, regardless of whether the work was completed.<br><em>Example: Even though only 38 person-days of work were completed, the team logged 45 person-days in total — reflecting time spent on abandoned tickets, investigations, and context switching.</em></p><h3>Why This Matters</h3><h4>1. Reflects Real-World Dynamics</h4><p>In many teams, especially those in SRE, CloudOps, or cross-functional environments, new work often emerges mid-sprint. By tracking “Work Taken,” you capture this reality and avoid misleading stakeholders with overly simplistic charts.</p><h4>2. Enables Smarter Planning</h4><p>Comparing Capacity with Work Taken and Work Completed helps teams understand if they’re overcommitting or under-utilizing their resources.</p><h4>3. Drives Continuous Improvement</h4><p>Including Actual Effort (man-days logged) alongside planned effort allows teams to spot discrepancies between estimates and reality, fueling better forecasting and retrospectives.</p><h3>How to Visualize the Data</h3><p>Here’s a sample table using man-days to illustrate the four key metrics:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4Y8lzI_gFkk9SKvPKWOcnQ.png" /></figure><h4>Column Definitions:</h4><ul><li>Capacity (Man-Days): Total available person-days for the team in the sprint (e.g., 5 people × 9 days = 45 man-days).</li><li>Work Taken (Man-Days): Total estimated effort (in man-days) for all work accepted during the sprint, including any mid-sprint additions.</li><li>Work Completed (Man-Days): Total estimated effort (in man-days) for work actually finished by the end of the sprint.</li><li>Actual Effort (Man-Days): Sum of all hours logged by the team, converted to man-days.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5kpXINZZMZAgRdS3FW7x_w.png" /><figcaption>Sample Velocity Chart</figcaption></figure><p>For visualization, consider a grouped bar chart or a stacked area chart, with each metric represented distinctly for each sprint. While most Agile tools don’t support this out of the box, you can use custom dashboards (Jira plugins, eazyBI, Power BI, Tableau, etc.)</p><h3>Final Thoughts</h3><p>Agile is about adaptability and transparency. By evolving our metrics to match how teams actually work, we empower teams to deliver more predictably and sustainably. If your team regularly adapts to new information mid-sprint or wants to improve estimation and capacity planning, give this four-dimensional, man-day-based velocity chart a try.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e4953343bbd3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/design-bootcamp/rethinking-agile-velocity-charts-a-practical-approach-for-modern-teams-e4953343bbd3">Rethinking Agile Velocity Charts: A Practical Approach for Modern Teams</a> was originally published in <a href="https://medium.com/design-bootcamp">Bootcamp</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is CMS on Its Way Out? Meet the Future of Content with CHMS]]></title>
            <link>https://medium.com/@kanth.vallampati/is-cms-on-its-way-out-meet-the-future-of-content-with-chms-ed8140f816d3?source=rss-a03bc9ce0f5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed8140f816d3</guid>
            <category><![CDATA[cms]]></category>
            <category><![CDATA[content-marketing]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Lakshmikanth Vallampati]]></dc:creator>
            <pubDate>Mon, 06 Jan 2025 04:10:51 GMT</pubDate>
            <atom:updated>2025-01-06T05:21:52.849Z</atom:updated>
            <cc:license>https://creativecommons.org/publicdomain/mark/1.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PcIbhhzsis2XD70MhXLdOw.jpeg" /></figure><p>The landscape of digital content management is undergoing a dramatic transformation. For years, traditional <strong>Content Management Systems (CMS) </strong>like WordPress, Drupal, and Joomla etc… have been the go-to platforms for creating, organizing, and publishing web content. However, as the digital world rapidly evolves, these legacy platforms are facing increasing competition from a new breed of content management systems — <strong>Content Harnessing and Maintenance Systems (CHMS)</strong> — that leverage the power of artificial intelligence (AI) to completely rethink how content is managed.</p><p>In this article, we explore why traditional CMS may be on its way out, and how CHMS platforms powered by AI are paving the way for the future of content creation, management, and optimization.</p><h3>From CMS to CHMS: The Changing Landscape</h3><h4>Traditional CMS: The Old Guard of Content Management</h4><p>Traditional CMS platforms have long been the backbone of content management, allowing users to create pages, blog posts, and manage multimedia assets. They are designed around a human-centric workflow, meaning users manually enter content, organize it, and optimize it for search engines and user engagement.</p><p>Here’s a quick look at the key characteristics of traditional CMS:</p><ul><li><strong>Content Creation and Management</strong>: Traditional CMS platforms enable the creation of content, but tasks like SEO optimization and content updates generally require manual intervention.</li><li><strong>Customization via Plugins</strong>: These systems often rely heavily on plugins and themes for customization, which can be overwhelming for non-technical users.</li><li><strong>Human-Centric Workflow</strong>: Traditional CMS still requires human input for tasks like categorization, metadata tagging, and content structuring, often resulting in inefficiencies and bottlenecks.</li></ul><p>While these systems have served their purpose for years, they weren’t designed to handle the scale, personalization, and automation demands of today’s digital landscape. That’s where <strong>Content Harnessing and Maintenance Systems (CHMS)</strong> come in.</p><h4>CHMS: A New Era of AI-Driven Content Management</h4><p>Content Harnessing and Maintenance Systems represent the next frontier in content management. Unlike traditional CMS, CHMS platforms are designed to harness the power of AI across the entire content lifecycle — from creation to optimization, maintenance, and distribution.</p><p>Here’s how CHMS differentiates itself from traditional CMS:</p><ul><li><strong>AI Integration</strong>: AI is integrated into every aspect of the content workflow, including content creation, SEO optimization, content recommendations, and even sentiment analysis.</li><li><strong>Automated Content Maintenance</strong>: AI-driven systems automate the categorization, tagging, and updating of content. Content managers no longer have to worry about outdated material or gaps in their content strategy.</li><li><strong>Predictive Content Creation</strong>: Using machine learning algorithms, CHMS platforms can predict what types of content will perform well based on user behavior, search trends, and past engagement patterns.</li><li><strong>Adaptive User Experiences</strong>: AI enables CHMS platforms to deliver personalized content to users based on their individual preferences, behavior, and past interactions.</li><li><strong>Intelligent Search</strong>: Unlike traditional CMS platforms that rely on basic keyword searches, CHMS platforms feature AI-driven search engines that understand natural language and surface the most relevant results based on context.</li></ul><h3>Key Features of CHMS Platforms</h3><p>As the name suggests, CHMS platforms focus on <strong>harnessing</strong> and <strong>maintaining</strong> content efficiently, and AI plays a central role in this process. Let’s explore the key features that set CHMS apart:</p><ol><li><strong>Content Optimization with AI</strong><br>AI-powered CHMS platforms automatically suggest content improvements based on real-time data. This includes optimizing content for SEO, recommending relevant keywords, and suggesting tweaks to structure and length — all aimed at improving content performance.</li><li><strong>Automated Content Generation</strong><br>AI tools integrated into CHMS platforms can generate written content like blog posts, social media updates, and product descriptions, dramatically reducing the time and effort required for content creation.</li><li><strong>Personalized Content Delivery</strong><br>AI can analyze user behavior and preferences to deliver content tailored to individual interests. This dynamic personalization boosts engagement, increases conversion rates, and improves user satisfaction.</li><li><strong>Advanced Analytics</strong><br>CHMS platforms offer AI-driven analytics that provide deep insights into user behavior, content performance, and trends. Content managers can use this data to refine strategies and produce more effective content.</li><li><strong>Voice and Visual Search</strong><br>CHMS platforms support voice and visual search, making it easier for users to find the content they need. Whether it’s a spoken query or an image search, AI ensures that content is easily discoverable.</li><li><strong>Continuous Content Maintenance</strong><br>AI automates routine maintenance tasks like identifying outdated content, flagging broken links, and suggesting updates. This ensures that content remains fresh, relevant, and error-free without manual intervention.</li></ol><h3>How AI is Revolutionizing Content Management</h3><p>The central difference between traditional CMS and CHMS lies in AI integration. From creation to optimization and ongoing maintenance, AI is transforming the entire content lifecycle. Here are a few key ways AI is reshaping content management:</p><ol><li><strong>Content Generation &amp; Curation</strong><br>AI models, such as GPT-based systems, can now generate high-quality written content with minimal input. Whether you need an article, blog post, or product description, AI tools can create content quickly and efficiently. Additionally, AI can curate content by analyzing trends and user preferences, suggesting articles, images, and other content that will resonate with your audience.</li><li><strong>SEO Automation</strong><br>Search engine optimization is no longer a time-consuming, manual process. AI can automatically optimize content for search engines, ensuring that it ranks well on Google and other platforms. This includes keyword optimization, content structuring, and meta-tag generation.</li><li><strong>Natural Language Processing (NLP)</strong><br>AI-powered NLP tools allow content platforms to understand and respond to user queries in natural language. This enhances user interaction, whether it’s through chatbots, intelligent search engines, or content recommendations.</li><li><strong>Predictive Analytics</strong><br>Machine learning algorithms can predict what content is likely to perform best by analyzing user behavior and trends. Content managers can use this predictive power to create content that better matches user interests and maximize engagement.</li><li><strong>Automated Content Workflow</strong><br>AI can automate repetitive tasks like tagging, categorization, and content moderation, allowing content teams to focus on creative and strategic aspects. This reduces the time spent on manual tasks while improving consistency and accuracy.</li></ol><h3>Conclusion</h3><p>The shift from traditional CMS to CHMS represents a fundamental change in how we approach content management. While traditional systems have served their purpose, the future lies in AI-driven platforms that can harness the power of automation, predictive analytics, and personalization.</p><p>As AI technology continues to evolve, CHMS platforms will become even more intuitive and powerful, reshaping how we create, manage, and optimize content. For businesses looking to stay ahead in the digital age, adopting CHMS is not just a smart move — it’s an essential step toward mastering the future of content.</p><p>With AI at the helm, content management is no longer just about organizing information; it’s about harnessing the full potential of content to drive engagement, optimize user experiences, and stay ahead of the competition.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed8140f816d3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Monorepo Branching Strategies for Team Success]]></title>
            <link>https://medium.com/@kanth.vallampati/monorepo-branching-strategies-for-team-success-bdb0f69936d3?source=rss-a03bc9ce0f5f------2</link>
            <guid isPermaLink="false">https://medium.com/p/bdb0f69936d3</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[monorepo]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[branching-strategy]]></category>
            <category><![CDATA[cicd]]></category>
            <dc:creator><![CDATA[Lakshmikanth Vallampati]]></dc:creator>
            <pubDate>Wed, 27 Nov 2024 15:13:30 GMT</pubDate>
            <atom:updated>2025-04-09T14:55:38.648Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xnpHhghSMhOD24FIuwCpbA.jpeg" /></figure><p>In software development, effective processes are key to a team’s success, and branching strategies are essential for smooth code development, testing, and deployment. Choosing the right strategy can significantly impact a team’s agility and stability.</p><p>This article explores two important branching strategies — <strong>Progressive Environment Branching</strong> and <strong>Feature-Focused Branching</strong> — and how they suit enterprise monorepo applications.</p><blockquote>Originally published in a closed forum on March 23, 2020, this is now being reposted on Medium to share the knowledge with a wider audience.</blockquote><h3>Progressive Environment Branching Strategy</h3><p>This strategy is ideal for teams working on complex applications or large projects with long development cycles, where multiple features and fixes are in progress simultaneously. It supports progressive testing and validation across multiple environments (e.g., Development, Integration, QA, UAT, LT(load testing), Pre-Production and Production), providing clear gates for quality assurance. The use of dedicated branches for each environment — such as dev, staging, and live — helps maintain stability and control, ensuring that production deployments are carefully managed and monitored. This approach is particularly beneficial for teams requiring higher stability, as it prevents rushed changes from affecting production.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j9CLimUjhkL6AtWhk-FStg.jpeg" /><figcaption>Picture: Progressive Environment Branching</figcaption></figure><h4>Branches and Workflow</h4><h4>1. Feature Branches (feature/*):</h4><p><strong>Purpose:</strong> Develop individual features or tasks in isolation.</p><p><strong>Workflow:</strong></p><ul><li>Create a branch off dev for a specific feature or bug fix.</li><li>Complete development and perform local testing.</li><li>Submit the feature branch for code review. Merge into dev after approval and local validation.</li><li>Once the feature is validated in the dev environment, merge the feature branch into staging. Where QA completes end-to-end testing.</li><li>Once all signoffs are obtained, merge the feature branch into main. During this step, the feature branch will be deleted to maintain repository hygiene.</li></ul><h4>2. Development Branch (develop):</h4><p><strong>Purpose:</strong> Serves as the integration branch for ongoing development and testing.</p><p><strong>Workflow:</strong></p><ul><li>Feature branches are merged into develop after passing code reviews and local testing.</li><li>Code in develop is deployed to the development environment for validation.</li><li><strong>Note:</strong> develop is <strong>not merged</strong> into staging or main.</li></ul><h4>3. Staging Branch (staging):</h4><p><strong>Purpose:</strong> For pre-production testing and validation.</p><p><strong>Workflow:</strong></p><ul><li>Feature branches are merged into staging after validation in the development environment.</li><li>Code in staging is deployed to UAT, LT, or other similar level environments.</li><li>QA performs end-to-end testing, and the team addresses any issues identified.</li><li><strong>Note:</strong> staging is <strong>not merged</strong> into main.</li></ul><h4>4. Main Branch (main):</h4><p><strong>Purpose:</strong> Holds stable, production-ready code.</p><p><strong>Workflow:</strong></p><ul><li>Feature branches are merged into main after receiving all QA and stakeholder signoffs.</li><li>Code from main is deployed to pre-production environments (e.g., staging or other pre-prod setups) for a final round of validation.</li><li>After successful validation, code from main is deployed to production.</li></ul><h4>5. Hotfix Branches (hotfix/*):</h4><p><strong>Purpose:</strong> Address critical bugs or issues in production.</p><p><strong>Workflow:</strong></p><ul><li>Create a hotfix/* branch from main to address the issue.</li><li>After fixing the issue, merge the hotfix/* branch back into both main.</li><li>Deploy the changes to production immediately after validation.</li></ul><h4>6. Live Branch (live):</h4><p><strong>Purpose:</strong> An optional branch used by some enterprises.</p><p><strong>Workflow:</strong></p><ul><li>After production deployment, and once all required testing is complete and the production environment is stable, merge the main branch into the live branch.</li></ul><h3>Feature-Focused Branching Strategy</h3><p>This strategy is perfect for smaller teams or lightweight projects that prioritize simplicity, agility, and clean repositories with minimal branch clutter. It supports fast-paced development with short-lived feature branches and quick integration cycles, enabling faster delivery and deployment. Well-suited for teams using CI/CD pipelines, it ensures quality through automated testing at each stage. The approach aligns with agile and DevOps principles, requiring fewer validation stages and only staging and production environments. It also promotes repository simplicity by removing feature branches after merging, making it ideal for teams that deploy to production frequently.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tr85iR1x28E6l7ieeMm5SA.jpeg" /><figcaption>Picture: Feature-Focused Branching</figcaption></figure><h3>Branches and Workflow</h3><h4>1. Feature Branch (feature/*)</h4><p><strong>Purpose</strong>: Dedicated to developing individual features or fixes.</p><p><strong>Lifecycle</strong>: Created from the develop branch and deleted immediately after merging into the staging branch.</p><h4>2. Development Branch (develop)</h4><p><strong>Purpose</strong>: Acts as the integration branch for feature development. All feature branches are based on this branch.</p><p><strong>Workflow</strong>:</p><ul><li>Feature branches are merged into dev after local testing and code reviews.</li><li>Used for team-level testing and validation.</li></ul><h4>3. Release Branch (release)</h4><p><strong>Purpose</strong>: Serves as the pre-production branch for thorough testing and quality assurance.</p><p><strong>Workflow</strong>:</p><ul><li>Feature branches are directly merged into release after passing local tests and reviews.</li><li>QA performs end-to-end testing to ensure functionality and stability.</li><li>Once testing is complete, the release branch is merged into main.</li></ul><h4>4. Main Branch (main)</h4><p><strong>Purpose</strong>: Represents the stable production-ready codebase.</p><p><strong>Workflow</strong>:</p><ul><li>The main branch is deployed to production.</li><li>Only changes that have passed staging-level testing are merged into main.</li></ul><h4>5. Hotfix Branch (hotfix/*)</h4><p><strong>Purpose</strong>: Used for critical fixes to the production code.</p><p><strong>Workflow</strong>:</p><ul><li>Created from the main branch to address urgent issues.</li><li>Merged back into both main and release to ensure consistency.</li></ul><p><strong>Final Thoughts</strong></p><p>Branching strategies aren’t one-size-fits-all; the right choice depends on your team’s goals, workflows, and needs. Progressive Environment Branching and Feature-Focused Branching are not the only options, but they can work well for managing the challenges of enterprise monorepo applications.</p><p>These strategies offer a good balance of control and flexibility, helping teams manage large codebases while staying agile. Their success, however, depends on how well they fit your specific processes.</p><p>Use these approaches as a starting point, adapt them to your needs, and refine them over time. Every team is different, and the best strategy is the one that helps yours succeed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bdb0f69936d3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>