bitburner-ts
v1.1.8
Published
Easy CLI tool to use Typescript with Bitburner
Downloads
28
Readme
bitburner-ts
Rework of bitburner-filesync to work directly with Typescript and with a cleaner implementation. Also, supports WSL when the gaming is running on Windows.
Just run npx bitburner-ts
! You don't need any special setup in your Typescript project to have this working, like typescript-template.
This will automatically set up Typescript on watch mode and will push the resulting .js files into Bitburner. Requires outDir
and rootDir
on tsconfig.json
to be set.
The .js files will be by default put into the script
directory in the game's home
server.
You can install it via npm i bitburner-ts
and have it as a start script in your package.json for quality of life ✨
Usage
npx bitburner-ts [options]
# or
npm i bitburner-ts
Options:
-p, --port <number> the port to be used (default: 12525)
-d, --dest <dir> directory in the game's home server to put the files (default: "scripts")
-h, --help display help for command