A formatter engine for EnergyPlus Input Data File (IDF) format. Current stable version is 1.1.3. Release cadence is irregular. Key differentiator: it is a dedicated formatter for EnergyPlus IDF files, supporting customizable indentation, comment column padding, and empty lines between entries. It is a small, focused library with no external dependencies.
npm install idf-formatterNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Formats an IDF text with custom indentation, comment padding, and empty lines between entries.
Use import syntax or dynamic import.
Use named import: import { formatIDF } from 'idf-formatter'.Always pass numbers for indentation, commentColumnPadding, and emptyLinesBetweenEntries.
Add 'type': 'module' to your package.json, or use dynamic import: const { formatIDF } = await import('idf-formatter');Ensure correct import: import { formatIDF } from 'idf-formatter';No dependency data recorded yet.