# tts-save-cleaner

> A tool for cleaning Tabletop Simulator save files.

Latest version **1.1.0** (published 2020-12-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install tts-save-cleaner
pnpm add tts-save-cleaner
yarn add tts-save-cleaner
bun add tts-save-cleaner
```

Provides the command `tts-save-cleaner`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2020-12-17 |
| First published | 2020-12-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | nabbydude |
| Maintainers | nabbydude |

## Links

- npm: https://www.npmjs.com/package/tts-save-cleaner
- Repository: https://github.com/nabbydude/tts-save-cleaner
- Homepage: https://github.com/nabbydude/tts-save-cleaner#readme
- Issues: https://github.com/nabbydude/tts-save-cleaner/issues
- npm.io page: https://npm.io/package/tts-save-cleaner

## Dependencies (1)

- [yargs](https://npm.io/package/yargs.md) ^16.2.0

## Recent versions

- 1.1.0 (latest) — 2020-12-17
- 1.0.2 — 2020-12-16
- 1.0.1 — 2020-12-16
- 1.0.0 — 2020-12-16

## README

# tts-save-cleaner

A command-line tool for cleaning Tabletop Simulator save files.

## Installation

tts-save-cleaner can be installed using [npm](https://www.npmjs.com/get-npm) or [yarn](https://classic.yarnpkg.com/en/docs/install#windows-stable).

```sh
npm install --global tts-save-cleaner
# or
yarn global add tts-save-cleaner
```

## Usage

```sh
tts-save-cleaner <path/to/save> <path/to/output>
```

tts-save-cleaner takes two arguments, the path to the file to clean, and the path to save the cleaned file to. These can be the same path, in which case the input file gets overwritten by the clean version.

tts-save-cleaner also takes two options:

- `--roundingAccuracy <n>`: rounds all numbers in the file to `n` decimal places. Defaults to not rounding.
- `--sortContents <guid1> [<guid2> [<guid3> ...]]`: sorts the contents of all objects with the specified GUIDs. Use `-1` to sort objects loaded on the table. Defaults to no objects.

Usage informations is also available via `tts-save-cleaner --help`.

## License

tts-save-cleaner is provided under the [MIT license](https://github.com/nabbydude/tts-save-cleaner/blob/master/LICENSE).

---
_Source: https://npm.io/package/tts-save-cleaner · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
