lunary module is lightweight and works with Node JS, Deno, Cloudflare Workers, Vercel Edge functions and even Bun.
Start by importing the
If you're using in the browser, import like this:
Then initialize the module with your unique app ID.
Option 1: Automatic using environment variables (recommended):
Option 2: Manually using the
.init method accepts the following arguments: