Skip to content

Add the example code using ESM #544

@cw1997

Description

@cw1997

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the issue has not already been raised

Issue

Now ESM is popular, but the example code in README.md are still use CommonJS, I think provide the example ESM code is necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions