Skip to content

marko-js/migrate-v3-widget

Repository files navigation


@marko/migrate-v3-widget
TypeScript Styled with prettier Build status Test Coverage

Migrates a Marko v3 widget to a v4 component.

Note: You probably want to use the marko migrate command instead of using this directly.

Installation

npm install @marko/migrate-v3-widget

Example

import migrate from "@marko/migrate-v3-widget";

migrate("./path-to-widget-file.js").then(code => {
  code; // Migrated code
});

Code of Conduct

This project adheres to the eBay Code of Conduct. By participating in this project you agree to abide by its terms.

About

Migrates a Marko v3 widget to a v4 component.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published