Skip to content
This repository was archived by the owner on Aug 5, 2026. It is now read-only.
benja2998Public archive

About

Batch to JavaScript compiler

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

bat2js

Batch to JavaScript compiler

node.js package Coverage Status

Currently not very functional. This is very much alpha quality software.

Installation

npm install -g bat2js

Usage

bat2js <input.bat>

This is an example of a batch file that can be compiled to JavaScript:

@echo off

rem Declare variables
set hi=Hello
set world=world!

rem Output text to the console
echo %hi% %world%
echo Goodbye world!

pause

About

Batch to JavaScript compiler

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages