Skip to content

z0r1k/webrtc-codemods

 
 

Repository files navigation

WebRTC Promise codemods

These codemods use jscodeshift to upgrade legacy WebRTC code using the callback and errorbacks to their modern, promise-based equivalent.

Usage

In your code tree, use

jscodeshift -t createOffer .

to apply the createOffer codemod. Then review your changes and commit them.

Alternatively, play around with the codemods in ast explorer.

Author

Philipp Hancke fippo@appear.in

License

MIT

About

codemods for promise-ifying your WebRTC code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published