Format apache2 configuration files
npm install apache2-conf-formatter
$ npm install apache2-conf-formatter
`
Usage
`js
const apache2ConfFormatter = require('apache2-conf-formatter');
console.log(apache2ConfFormatter.format('httpd.conf'));
//=> Promise the formatted configuration file
`
API
$3
Format the given file
arguments:
path the path to file.
options (optional) Object see options
returns:
Promise \ the formatted configuration file
#### options
##### useTabs
Type: boolean
Default: false
Indent lines with tabs instead of spaces
##### tabWidth
Type: number
Default: 2`