node-module-polyfill
v1.0.1
Published
Polyfills for the Node.Module interface
Maintainers
Readme
node-module-polyfill

A polyfill for Node.Module.
Uses code from Node.js v12.11, tested back to v8.
Usage:
const Module = require("module");
require("node-module-polyfill");or
import Module from 'module';
import 'node-module-polyfill';