node.mjs 263 B

12345678910
  1. import getIterator from 'es-get-iterator';
  2. import Module from 'module';
  3. const require = Module.createRequire(import.meta.url);
  4. const id = require.resolve('../node');
  5. const mod = new Module(id);
  6. mod.exports = getIterator;
  7. require.cache[id] = mod;
  8. require('./');