Developer releases edfcore, a zero-dependency TypeScript library for parsing EDF biosignal files
A developer has released edfcore, an open-source TypeScript library designed to parse EDF-family biosignal recordings — including EEG, ECG, and sleep-study data — without any external dependencies. The library allows developers to work with biosignal data directly in JavaScript and TypeScript environments such as browsers, Node.js pipelines, and Electron applications. Building the parser revealed several non-obvious complexities in the EDF format, including per-signal sampling rates, annotation data embedded as signal channels, and 24-bit sample values in BDF files that require manual byte reconstruction. The developer noted that subtle parsing errors are especially difficult to detect because they can produce plausible-looking waveforms rather than obvious failures. A companion CLI tool called edf2csv is also available for converting EDF and BDF recordings to CSV format; both projects are MIT licensed and published on GitHub and NPM.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in