Determines whether a Node file is a Module (import
) or a Script (require
)
Basic test runner for tape that supports ECMAScript Modules (ESM; es6 modules). Runs your tests in isolation, one after the other.
The module has JS functions to check all imports or required modules and check if the file is a ES Module or a CJS/ JS Module or Script
The module has JS functions to check all imports or required modules and check if the file is a ES Module or a CJS/ JS Module or Script