Skip to content

pouyakary/idf-formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
    })

Releases

No releases published

Packages

No packages published