https://github.com/ftzi/bitburner-ts
https://github.com/ftzi/bitburner-ts
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ftzi/bitburner-ts
- Owner: ftzi
- Created: 2023-12-12T18:45:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-17T16:20:11.000Z (over 1 year ago)
- Last Synced: 2025-11-27T11:03:40.748Z (6 months ago)
- Language: TypeScript
- Size: 221 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](http://makeapullrequest.com)
[](http://www.typescriptlang.org/)
[](https://www.npmjs.com/package/bitburner-ts)
[](https://www.npmjs.com/package/bitburner-ts)
# bitburner-ts
Rework of [bitburner-filesync](https://github.com/bitburner-official/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](https://github.com/bitburner-official/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
```bash
npx bitburner-ts [options]
# or
npm i bitburner-ts
```
```
Options:
-p, --port the port to be used (default: 12525)
-d, --dest directory in the game's home server to put the files (default: "scripts")
-h, --help display help for command
```