0.0.1 • Published 6 months ago

esm-adapter v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

ESM adapter

Import ESM modules from CommonJS. Installation requires node-gyp.

const adapter = require('adapter');
const esmModule = adapter('some-esm-module');

This adapter is based on deasync and on the dynamic import().

0.0.1

6 months ago