<?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: Vikash Kumar</title>
    <description>The latest articles on DEV Community by Vikash Kumar (@codezaura).</description>
    <link>https://dev.to/codezaura</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1627209%2F0e55a0b7-b0f9-40cb-a96f-17ddde5c27fb.png</url>
      <title>DEV Community: Vikash Kumar</title>
      <link>https://dev.to/codezaura</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/codezaura"/>
    <language>en</language>
    <item>
      <title>Tired of Codebases with Mismatched File Casing? 🛠️ Meet CaselyJS (v1.0.1)</title>
      <dc:creator>Vikash Kumar</dc:creator>
      <pubDate>Sat, 04 Apr 2026 11:36:31 +0000</pubDate>
      <link>https://dev.to/codezaura/tired-of-codebases-with-mismatched-file-casing-meet-caselyjs-v101-479n</link>
      <guid>https://dev.to/codezaura/tired-of-codebases-with-mismatched-file-casing-meet-caselyjs-v101-479n</guid>
      <description>&lt;p&gt;Every developer has been there. You join a new project, or you're cleaning up a legacy codebase, and you see it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;UserService.ts&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;product_api.js&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;get-orders.ts&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;Final_component.jsx&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It’s a visual mess, and it makes finding files in your editor a constant friction point. Manually renaming dozens or hundreds of files is a tedious, error-prone nightmare.&lt;/p&gt;

&lt;p&gt;I built CaselyJS to solve this problem permanently, and I just upgraded it to v1.0 with a full TypeScript rewrite and a brand-new CLI.&lt;/p&gt;

&lt;h2&gt;
  
  
  ⚡ The 10-Second Quick Start (No Install Required)
&lt;/h2&gt;

&lt;p&gt;The best way to try CaselyJS is with &lt;code&gt;npx&lt;/code&gt;. You can clean up your current project right now without adding a single dependency to your &lt;code&gt;package.json&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Preview changes (dry run) in the current directory&lt;/span&gt;
npx caselyjs &lt;span class="nt"&gt;--dry&lt;/span&gt;

&lt;span class="c"&gt;# Re-case all files in the ./src folder to kebab-case&lt;/span&gt;
npx caselyjs ./src &lt;span class="nt"&gt;--case&lt;/span&gt; kebab
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  ✨ What’s New in v1.0?
&lt;/h2&gt;

&lt;p&gt;I’ve transformed CaselyJS from a simple string utility into a robust, high-performance CLI tool designed for large-scale codebase refactoring.&lt;/p&gt;

&lt;h3&gt;
  
  
  Features
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Full CLI&lt;/strong&gt;: No code required. Run it directly from the terminal.&lt;br&gt;
Refactor codebases in seconds.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Dry Run Mode&lt;/strong&gt;: See exactly which files will be renamed before it happens.&lt;br&gt;
Total peace of mind. Zero risk.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Recursive Bottom-Up&lt;/strong&gt;: Renames deep directories first, keeping parent paths valid.&lt;br&gt;
It just works, even on deeply nested structures.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;File Filtering&lt;/strong&gt;: target specific extensions (e.g., just &lt;code&gt;.ts&lt;/code&gt; and &lt;code&gt;.tsx&lt;/code&gt;).&lt;br&gt;
Complete control over the scope of changes.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🚀 Usage Examples
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx caselyjs ./src &lt;span class="nt"&gt;--full&lt;/span&gt; &lt;span class="nt"&gt;--case&lt;/span&gt; pascal &lt;span class="nt"&gt;--dry&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  CLI Options
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;--case&lt;/code&gt;: pascal | kebab | camel ( default: &lt;code&gt;kebab&lt;/code&gt;, shorthand: &lt;code&gt;-c&lt;/code&gt; )&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx caselyjs ./src/components &lt;span class="nt"&gt;--case&lt;/span&gt; pascal

&lt;span class="c"&gt;# or&lt;/span&gt;
npm caselyjs ./src/components &lt;span class="nt"&gt;-c&lt;/span&gt; pascal
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;--ext&lt;/code&gt;: ( default: &lt;code&gt;"js,jsx,ts,tsx"&lt;/code&gt;, shorthand: &lt;code&gt;-e&lt;/code&gt; )&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx caselyjs ./src/components &lt;span class="nt"&gt;--ext&lt;/span&gt; &lt;span class="s2"&gt;"go,py,cpp"&lt;/span&gt;

&lt;span class="c"&gt;# or&lt;/span&gt;
npm caselyjs ./src/components &lt;span class="nt"&gt;-e&lt;/span&gt; &lt;span class="s2"&gt;"go,py,cpp"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;&lt;code&gt;--ext&lt;/code&gt; overrides the existing extensions&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;code&gt;--full&lt;/code&gt;: ( default: &lt;code&gt;false&lt;/code&gt;, shorthand: &lt;code&gt;-e&lt;/code&gt; )&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx caselyjs ./src/components &lt;span class="nt"&gt;--case&lt;/span&gt; kebab &lt;span class="nt"&gt;--full&lt;/span&gt;

&lt;span class="c"&gt;# or&lt;/span&gt;
npm caselyjs ./src/components &lt;span class="nt"&gt;-c&lt;/span&gt; kebab &lt;span class="nt"&gt;-f&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;--dry&lt;/code&gt;: ( default: &lt;code&gt;false&lt;/code&gt; )&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx caselyjs ./src/components &lt;span class="nt"&gt;--case&lt;/span&gt; kebab &lt;span class="nt"&gt;--full&lt;/span&gt; &lt;span class="nt"&gt;--dry&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  🧠 Under the Hood (For the Geeks)
&lt;/h3&gt;

&lt;p&gt;This v1.0 rewrite was about more than just a CLI. I moved the entire core to TypeScript for strict type safety. We use Commander.js for robust flag parsing, Chalk for those beautiful terminal colors, and a custom Bottom-Up Sorting algorithm for recursive folder renames. This ensures that a child file's path isn't broken when its parent folder is renamed during the process.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Mit-Licensed and Open Source&lt;/strong&gt;&lt;br&gt;
CaselyJS is 100% open source and free to use.&lt;/p&gt;

&lt;p&gt;I would love your feedback on the new CLI and features! If you run into any issues or have a feature request (more case types?), please open an issue or pull request on GitHub.&lt;/p&gt;

&lt;p&gt;Try it out: &lt;code&gt;npx caselyjs ./your-test-folder --dry&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Repository: &lt;a href="https://github.com/codezaura/caselyjs" rel="noopener noreferrer"&gt;github.com/codezaura/caselyjs&lt;/a&gt;&lt;br&gt;
NPM: &lt;a href="https://www.npmjs.com/package/caselyjs" rel="noopener noreferrer"&gt;npm/caselyjs&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Made with ❤️ by codezaura&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>typescript</category>
      <category>codequality</category>
      <category>rename</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Rename codebase with ease - "caselyjs"</title>
      <dc:creator>Vikash Kumar</dc:creator>
      <pubDate>Fri, 01 Aug 2025 07:40:02 +0000</pubDate>
      <link>https://dev.to/codezaura/rename-codebase-with-ease-caselyjs-jjd</link>
      <guid>https://dev.to/codezaura/rename-codebase-with-ease-caselyjs-jjd</guid>
      <description>&lt;h2&gt;
  
  
  Know the uses!
&lt;/h2&gt;

&lt;p&gt;Renaming or changing &lt;code&gt;files/folders&lt;/code&gt; is very common thing most of devs do it more often.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cause
&lt;/h2&gt;

&lt;p&gt;You've a project with 50+ files and folders. You're using &lt;code&gt;camelCase&lt;/code&gt; for naming files and folders so far.&lt;/p&gt;

&lt;p&gt;Then you realized I should use another case eg.- &lt;code&gt;PascalCase&lt;/code&gt;, &lt;code&gt;kebab-case&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;In such case, you'll rename them manually.&lt;br&gt;
&lt;em&gt;Good but not Efficient&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;Lets increase the numbers of file or folders to &lt;strong&gt;500+&lt;/strong&gt;&lt;/p&gt;


&lt;h2&gt;
  
  
  Caselyjs
&lt;/h2&gt;

&lt;p&gt;Built to eliminate manual task.&lt;/p&gt;

&lt;p&gt;Suppose, You've a project built on react using &lt;code&gt;vite&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;and the folder structure looks like&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%2F71dfid8w7pnboeivqnpu.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%2F71dfid8w7pnboeivqnpu.png" alt=" " width="397" height="603"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To organize entire codebase, You've decided to choose one naming case for the entire codebase, that is &lt;code&gt;kebab-case&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;To achieve this all you need &lt;code&gt;caselyjs&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm i caselyjs
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;Create a file parallel to &lt;code&gt;src&lt;/code&gt; directory as rename.js ( or change.js ) anything its up to you.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Configs&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;casely&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;caselyjs&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nx"&gt;casely&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;config&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
   &lt;span class="na"&gt;path&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;src&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
   &lt;span class="na"&gt;case&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;kebab&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
   &lt;span class="na"&gt;file&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;js&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;jsx&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;ts&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;tsx&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
   &lt;span class="na"&gt;operate&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;full&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;
&lt;span class="p"&gt;})&lt;/span&gt;

&lt;span class="nx"&gt;casely&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;execute&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://www.npmjs.com/package/caselyjs" rel="noopener noreferrer"&gt;&lt;code&gt;npm/caselyjs&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thank You!&lt;/p&gt;

</description>
      <category>programming</category>
      <category>javascript</category>
      <category>tooling</category>
      <category>code</category>
    </item>
  </channel>
</rss>
