Skip to content

Replace minimist with parseArgs from node:util #31

Closed as not planned
Closed as not planned
@ChristianMurphy

Description

@ChristianMurphy

Initial checklist

Problem

minimist is an additional dependency which needs to be downloaded.

Solution

Node now provides parseArgs as part of node:util, with a similar functionality and API.
It has been made available as far back as Node 16 https://nodejs.org/dist/latest-v16.x/docs/api/util.html#util_util_parseargs_config

Alternatives

continue using a user land argument parser.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions