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.
Pulumi’s product is their management portal for team collaboration and AI solutions, the IaC engine is entirely open source with no locked features, so you can use it for free forever on personal projects with no limits by managing the state yourself (which is easy if you don’t need to manager permissions of a team) or on smaller projects in your company for evaluating it.
You only pay once you get big enough that outsourcing their service is preferrable.
Do check them out!