0.0.1 • Published 2 years ago

esm-adapter v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years 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

2 years ago