{"library":"pelias-dbclient","type":"library","category":null,"description":"`pelias-dbclient` is a core Node.js module within the Pelias geocoder ecosystem, providing a stream-based interface for efficiently bulk-inserting documents into Elasticsearch. Its primary function is to act as a crucial pipeline stage for Pelias import processes, transforming Pelias `Document` objects into Elasticsearch-compatible bulk operations. The current stable version is v3.3.0, with releases occurring on a feature-driven, rather than strict time-based, cadence, though a major version (v3.0.0) was released in March 2024. Key differentiators include its tight integration with the Pelias data model, its focus on streaming for large-scale data ingestion, and its commitment to open-source principles as part of the broader Pelias open-data geocoding project. It leverages the official `elasticsearch` client under the hood and is designed specifically for Node.js environments.","language":"javascript","status":"active","version":"3.3.0","tags":["javascript","pelias","elasticsearch","client","stream"],"install":[{"cmd":"npm install pelias-dbclient","imports":["const dbclient = require('pelias-dbclient');","const streamFactory = require('pelias-dbclient');\nconst stream = streamFactory();","const Document = require('pelias-model').Document;"]},{"cmd":"yarn add pelias-dbclient","imports":[]},{"cmd":"pnpm add pelias-dbclient","imports":[]}],"homepage":"https://pelias.io","github":"https://github.com/pelias/dbclient","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/pelias-dbclient","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/pelias-dbclient/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Tue Jul 21","install_tag":null}}