{"library":"ari-client","type":"library","category":null,"description":"The `ari-client` package provides a JavaScript client library for interacting with the Asterisk REST Interface (ARI). It offers a higher-level, Asterisk-specific API built upon the underlying `swagger-js` library, simplifying interaction with Asterisk resources such as bridges, channels, endpoints, and playback objects. The library supports both callback-based and Promise-based asynchronous operations for connecting to ARI, listing resources, performing actions (like adding channels to bridges), and creating new resource instances (e.g., `ari.Bridge()`, `ari.Channel()`). It is currently at version 2.2.0, indicating a stable release. While a strict release cadence isn't explicitly stated, its active development suggests ongoing maintenance. Its key differentiator is abstracting the raw Swagger API into an intuitive, resource-oriented interface tailored specifically for Asterisk development.","language":"javascript","status":"active","version":"2.2.0","tags":["javascript","Asterisk","ARI"],"last_verified":"Wed May 27","install":[{"cmd":"npm install ari-client","imports":["const client = require('ari-client');","client.connect(url, username, password)","const ari = await client.connect(url, username, password); ari.bridges.list();"]},{"cmd":"yarn add ari-client","imports":[]},{"cmd":"pnpm add ari-client","imports":[]}],"homepage":null,"github":"https://github.com/asterisk/node-ari-client","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/ari-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/ari-client/compatibility"}}