Kkrishn404

editor-node

No description available

Legacy
Slatejstypescript
Public
0 downloads
0 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

This codemod transforms Editor.node usage into Editor.nodes format. It also handles cases with both destructuring and non-destructuring .The new API returns an iterator of nodes instead of a single node, requiring changes to existing code patterns.

Before (v0.88) - Editor.node usage

ts

After (v0.104) - Editor.nodes usage

ts

Ready to contribute?

Build your own codemod and share it with the community.