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

1.1.8 • Public • Published

PRs Welcome TypeScript npm npm

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

Package Sidebar

Install

npm i bitburner-ts

Weekly Downloads

0

Version

1.1.8

License

none

Unpacked Size

31.2 kB

Total Files

12

Last publish

Collaborators

  • srbrahma