Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 487 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 487 Bytes

IDF Formatter

A formatter engine that formats the EnergyPlus "Input Data File" (IDF)

npm install --save idf-formatter
import { formatIDF } from "idf-formatter"

const formattedIDFText =
    formatIDF( idfText )

// You can also provide these settings:
const formattedIDFText =
    formatIDF( idfText, {
        indentation:                4,  // default
        commentColumnPadding:       30, // default
        emptyLinesBetweenEntries:   1,  // default
    })