Migrate legacy buffer.atob() and buffer.btoa() APIs
Migrates usage of the legacy APIs buffer.atob() and buffer.btoa() to the current recommended approaches.
Example
Migrating buffer.atob(data)
diff
Migrating buffer.btoa(data)
diff
Explore community-led codemods to migrate, optimize, and transform your codebase.
Build your own codemod and share it with the community.
Migrates usage of the legacy APIs `buffer.atob()` and `buffer.btoa()` to the current recommended approaches
The easiest way to run this codemod without installing anything globally:
Migrates usage of the legacy APIs buffer.atob() and buffer.btoa() to the current recommended approaches.
diff
diff
Build your own codemod and share it with the community.