https://github.com/pouyakary/idf-formatter
A formatter engine for EnergyPlus IDF File Format
https://github.com/pouyakary/idf-formatter
code19 energyplus formatter formatters heatstudio idf openstudio
Last synced: 19 days ago
JSON representation
A formatter engine for EnergyPlus IDF File Format
- Host: GitHub
- URL: https://github.com/pouyakary/idf-formatter
- Owner: pouyakary
- License: mpl-2.0
- Created: 2021-08-15T01:48:35.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-29T10:39:45.000Z (about 2 years ago)
- Last Synced: 2025-01-26T17:36:48.003Z (4 months ago)
- Topics: code19, energyplus, formatter, formatters, heatstudio, idf, openstudio
- Language: TypeScript
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# IDF Formatter
A formatter engine that formats the EnergyPlus "Input Data File" (IDF)
```
npm install --save idf-formatter
``````ts
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
})```