An open API service indexing awesome lists of open source software.

https://github.com/marko-js/migrate-v3-widget

Migrates a Marko v3 widget to a v4 component.
https://github.com/marko-js/migrate-v3-widget

Last synced: 4 months ago
JSON representation

Migrates a Marko v3 widget to a v4 component.

Awesome Lists containing this project

README

        





@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](https://github.com/marko-js/cli/blob/master/packages/migrate/README.md) command instead of using this directly._

# Installation

```console
npm install @marko/migrate-v3-widget
```

# Example

```javascript
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](./.github/CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.