Origins
This plugin was based on the work by the Pulumi Corporation for their inline lambda feature. Pulumi is an Infrastructure as Code platform that allows declaring the desired state of your infrastructure and construct those declaration using a familiar language like TypeScript, Python or Go.
The original work was strictly for serializing a single exported function along with its captured environment, and was limited to CommonJS operation mode. This library ports all that logic to ECMAScript Modules and rework all the logic to support the definition of arbitrary modules.
Thank you to the authors of the original inline closure serialization code who brought this idea into existence years ago.