{"library":"af-streams","type":"library","category":null,"description":"af-streams is a Node.js library designed to generate data streams directly from database tables, acting as a lightweight change data capture (CDC) mechanism. It currently supports MSSQL and PostgreSQL databases. The library operates by monitoring a specified timestamp field and a set of primary key fields within a table to detect and stream new or updated records. It provides flexible output options, including sending data to the console, a callback function, an event emitter, a TCP JSON sender (in WSO2 event binary format), or a WebSocket JSON sender. Additionally, it offers various windowing functionalities like `SingleEventTimeWindow`, `TimeWindow`, `KeyedNumberWindow`, `KeyedSingleEventTimeWindow`, and `KeyedTimeWindow` for advanced stream processing. The current stable version is 3.1.60, and it targets Node.js environments version 14 and higher. While a specific release cadence isn't published, the version number indicates active development.","language":"javascript","status":"active","version":"3.1.60","tags":["javascript","stream","database","table","change data capture","cdc","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install af-streams","imports":["import { DatabaseStream } from 'af-streams';","import { TimeWindow } from 'af-streams';","import { ConsoleSender } from 'af-streams';"]},{"cmd":"yarn add af-streams","imports":[]},{"cmd":"pnpm add af-streams","imports":[]}],"homepage":null,"github":"https://github.com/Bazilio-san/af-streams","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/af-streams","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/af-streams/compatibility"}}