Rename Deno Interfaces

1.0.0Last update Dec 1, 2024
by@lovelindhoni

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

Before

function handleRecord(record: Deno.MXRecord) {
// Handle the MX record
}

After

function handleRecord(record: Deno.MxRecord) {
// Handle the MX record
}

The following Deno types are replaced:

  • Deno.CAARecordDeno.CaaRecord
  • Deno.MXRecordDeno.MxRecord
  • Deno.NAPTRRecordDeno.NaptrRecord
  • Deno.SOARecordDeno.SoaRecord
  • Deno.SRVRecordDeno.SrvRecord
  • Deno.FileDeno.FsFile
  • Deno.SeverDeno.HttpServer

Build custom codemods

Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community

background illustrationGet Started Now