node-module-polyfill
v1.0.1 node.Module createRequire createRequireFromPath require polyfill
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';
npm i node-module-polyfill
Metadata
- ISC
- Whatever
- Danielle Church
- released 10/3/2019