Skip to content

VBScript parser and beautifier as a node module

Notifications You must be signed in to change notification settings

codecubers/vbspretty

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vbspretty

Sophisticated VBScript beautifier

Usage

npm i @vbsnext/vbs-pretty

As command-line

npx vbs-pretty .\src\Excel.vbs

As nodejs module

const vbspretty = require('@vbsnext/vbs-pretty')
var bsource = vbspretty({
    level: 1,
    indentChar: '\t',
    breakLineChar: '\r\n',
    breakOnSeperator: false,
    removeComments: false,
    source: require('fs').readFileSync('./src/Excel-unpretty.vbs').toString()
  });

  require('fs').writeFileSync('./src/Excel-pretty.vbs', bsource)

About

VBScript parser and beautifier as a node module

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 93.5%
  • VBScript 6.4%
  • Batchfile 0.1%