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.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.