{"library":"lago-javascript-client","type":"library","category":null,"description":"The `lago-javascript-client` is an official JavaScript wrapper for interacting with the Lago API, providing a structured way to manage billing and invoicing operations. It is currently at version 1.45.0, with frequent minor releases indicated by the recent changelog, often involving version bumps. This client is notable for its broad compatibility, designed to function across various JavaScript runtimes including Node.js (specifically Node.js >= 18 for native support), Cloudflare Workers, and Deno. It is automatically generated from the Lago OpenAPI document, ensuring it stays synchronized with the API's latest specifications. A key architectural decision is its reliance on the Fetch API for HTTP requests, which means users on older Node.js environments (pre-18) must either enable `--experimental-fetch` or provide a custom Fetch implementation like `node-fetch`. The library also ships with TypeScript types, facilitating robust development and error handling using its `getLagoError` utility.","language":"javascript","status":"active","version":"1.45.0","tags":["javascript","Lago","Node","API","Client","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install lago-javascript-client","imports":["import { Client } from 'lago-javascript-client';","import { getLagoError } from 'lago-javascript-client';","import { Client } from 'https://deno.land/x/lago/mod.ts';"]},{"cmd":"yarn add lago-javascript-client","imports":[]},{"cmd":"pnpm add lago-javascript-client","imports":[]}],"homepage":"https://getlago.com","github":"https://github.com/getlago/lago-javascript-client","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/lago-javascript-client","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/lago-javascript-client/compatibility"}}