• Rename Deno Interfaces

    This codemod renames Deno typscript interface names in your codebase to their new names.

    by@lovelindhoni
  • Deno Rewrite Custom Inspect

    This codemod replaces occurrences of Deno.customInspect with Symbol.for("Deno.customInspect"). This change aligns with the new standard for defining custom inspection behavior in Deno, providing better interoperability with JavaScript's built-in features.

  • Deno Replace Window With GlobalThis

    This codemod transforms instances of the window identifier into globalThis.

  • Deno Replace Import Assertions

    This codemod helps migrate JavaScript/TypeScript files from using the deprecated import assertions syntax to the updated import attributes syntax. The change aligns with the updated proposal for import attributes and ensures compatibility with newer versions of runtimes like Deno 2 and modern browsers that have already removed support for import assertions.

    by@lovelindhoni
  • Deno Remove Node:Process Import

    This codemod removes redundant import process from 'node:process'; statements, as process is now globally available in Deno v2

    by@lovelindhoni
  • Deno Refactor TLS Certs Reading

    This codemod updates the usage of TLS certificate loading in Deno by replacing deprecated properties with their new counterparts. In Deno V2, loading certificates directly from files is now deprecated. Instead, you should read the certificates yourself.

  • Deno Refactor Resource Ids

    In Deno v2, resource IDs are being deprecated. Most users do not directly interact with resource IDs, so we are moving towards a model where resources are referenced by native JavaScript objects. This codemod automates the process of updating your code to align with this change.

  • Deno Import STL Types

    This codemod updates deprecated Deno typescript interfaces in your codebase. It automatically imports the necessary typscript interfaces from the standard library

    by@lovelindhoni
  • Deno Import Stl Functions

    This codemod updates removed Deno function calls in Deno v2 to their new equivalents from the standard library It also automatically adds the necessary import statements from the appropriate modules.

  • Flatten Deno.Json

    This codemod helps developers migrate their deno.json configuration files to the new flattened schema format, making them easier to read and write. It automates the transformation of nested properties to their new top-level structure as outlined in recent Deno updates.