Nnodejs

nodejs/buffer-atob-btoa

Migrates usage of the legacy APIs `buffer.atob()` and `buffer.btoa()` to the current recommended approaches

transformationmigrationbuffers
Public
3 executions
3 stars
How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

Documentation

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

REFS

Ready to contribute?

Build your own codemod and share it with the community.