Using a de-facto standard like CommonJS is for modules, I’ve implemented a Promise based import after TC39 proposal, which also accepts promises based module.exports.

Backward compatible and deadly simple, this proposal needs some adoption in order to push it further at TC39 or NodeJS.

Don’t miss the post!

Source link

Leave a Reply

Your email address will not be published. Required fields are marked *