@marko/migrate-v3-widget
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published


@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.

/@marko/migrate-v3-widget/

    Package Sidebar

    Install

    npm i @marko/migrate-v3-widget

    Weekly Downloads

    29

    Version

    1.1.3

    License

    MIT

    Unpacked Size

    55.8 kB

    Total Files

    75

    Last publish

    Collaborators

    • tigt
    • ryanturnquist
    • dylanpiercey
    • ryansolid
    • mlrawlings
    • agliga