tss-formatter
JSON →tss-formatter is a CLI tool for formatting Titanium Alloy .tss files, providing ordering, beautification, and color code conversion (hex/rgb). It aims to enforce coding standards by reordering style properties in a customizable order defined in a .tssrc configuration file. The current version (0.0.8) is marked as in development and warns of potential file destruction, suggesting use of --dryrun or --diff flags. Key features include adjustable quote style, indent (tabs or spaces), stripping default units, removing comments, concatenation commas, and color format options. It is comparable to code formatters like Prettier but specific to Titanium Alloy projects and the TSS format. The package has a slow release cadence with minor updates since 2015. It is primarily aimed at developers building mobile apps with Appcelerator Titanium and Alloy framework.