Skip to content

Missing CJS Support #6

@pepedro12

Description

@pepedro12

Hi. Thanks a lot for this amazing library!
Im using pkg and it requires to use ESM module.
im import using:
const tlsClient =require('tlsclientwrapper'); and getting this error:
Error [ERR_REQUIRE_ESM]: require() of ES Module node_modules\tlsclientwrapper\index.js
code: 'ERR_REQUIRE_ESM'
}

thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions