{"library":"merge-k-sorted-arrays","type":"library","category":null,"description":"Efficiently merges 2 or more sorted arrays using a priority queue (min-heap). Version 3.0.0 requires Node.js >=20. Ships TypeScript types. Key differentiators: supports custom comparator, output metadata (array index and value index), and deduplication via unique option. Uses a heap-based approach for O(n log k) time complexity. No external runtime dependencies.","language":"javascript","status":"active","version":"3.0.0","tags":["javascript","merge","sorted","arrays","sorted-arrays","algorithm","algorithms","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install merge-k-sorted-arrays","imports":["import merge from 'merge-k-sorted-arrays'","import type { MergeOptions } from 'merge-k-sorted-arrays'","import type { OutputMetadata } from 'merge-k-sorted-arrays'"]},{"cmd":"yarn add merge-k-sorted-arrays","imports":[]},{"cmd":"pnpm add merge-k-sorted-arrays","imports":[]}],"homepage":"https://github.com/jedwards1211/merge-k-sorted-arrays#readme","github":"https://github.com/jedwards1211/merge-k-sorted-arrays","docs":null,"changelog":null,"pypi":null,"npm":"merge-k-sorted-arrays","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}