bat2js
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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

/bat2js/

    Package Sidebar

    Install

    npm i bat2js

    Weekly Downloads

    13

    Version

    1.1.0

    License

    GPL-3.0-or-later

    Unpacked Size

    60 kB

    Total Files

    14

    Last publish

    Collaborators

    • benja2998