Installation
MQL is available as
npm package
:The package is fully typed, and it has been designed for being consumed in different environments and ways.
From Node.js
Any Node.js above v16.14 is supported. We recommend running it using the active TLS. Check
Node.js releases
to know more.Just require
@microlink/mql dependency from your code:The same build is available for CommonJS and ESM.
From Edge
If you are using
CloudFlare Workers
, Vercel Edge Functions
, Deno
, or any other provider that supports WinterCG
, the Node.js ESM build is implemented on top of Web Standard APIs, nothing extra should be done.Just import
@microlink/mql/lightweight from your code:The same build is available for CommonJS and ESM.
From Browser
Last but not least, MQL can be loaded from any browser directly from HTML markup: