{"library":"mongo2elastic","type":"library","category":null,"description":"A TypeScript library (v0.58.0) that syncs MongoDB collections to Elasticsearch using change streams and optional schema conversion. It supports initial bulk scans, real-time change stream processing, schema change detection, and automatic mapping generation from MongoDB JSON schemas with Elasticsearch-specific overrides (e.g., geo_point, nested types, copy_to). Active development with monthly releases. Key differentiators: provides both a sync engine and standalone schema conversion utilities, handles change stream lifecycle (start/stop on schema change), and supports Redis-backed resume tokens. Requires Node >=16, MongoDB >=6.8, Elasticsearch >=8.14, and ioredis >=5.4.","language":"javascript","status":"active","version":"0.58.0","tags":["javascript","mongodb","mongo","json","schema","collection","elastic","elasticsearch","index","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install mongo2elastic","imports":["import { initSync } from 'mongo2elastic'","import { convertSchema } from 'mongo2elastic'","import { copyTo, isStringLike, setESType } from 'mongo2elastic'","import { crate, initSync } from 'mongo2elastic'"]},{"cmd":"yarn add mongo2elastic","imports":[]},{"cmd":"pnpm add mongo2elastic","imports":[]}],"homepage":"https://github.com/smartprocure/mongo2elastic#readme","github":"git://github.com/smartprocure/mongo2elastic","docs":null,"changelog":null,"pypi":null,"npm":"mongo2elastic","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}