import-in-the-middle

v1.11.2
Intercept imports in Node.js
import ritm iitm loader hook hooks

test

c8 --reporter lcov --check-coverage --lines 50 imhotap --files test/{hook,low-level,other,get-esm-exports,register}/*

test:e2e

node test/check-exports/test.mjs

test:ts

c8 --reporter lcov imhotap --files test/typescript/*.test.mts

coverage

c8 --reporter html imhotap --files test/{hook,low-level,other,get-esm-exports}/* && echo ' Now open coverage/index.html '

lint

eslint .

lint:fix

eslint . --fix
npm i import-in-the-middle

Metadata

Downloads