Skip to content

Migrate source code to ESM? #2345

Open
Open
@zanminkian

Description

@zanminkian

Node is defaultly supporting require('esm-module'). ESM is the future.

Moreover, pure js project under ESM would be more easy to add type annotation to improve type-safety.

That means commander will not provide CJS distribution in npm package.

Feel free to close it if not planned.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions