Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.
/ spacefix-ts Public archive

⚗️ Text files whitespace fixer

License

Notifications You must be signed in to change notification settings

garnetius/spacefix-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spacefix

License: ISC

Converts leading tabs to spaces, and CRLF and CR EOLs to proper LF line feeds, skips binary files without modifying them.

An example Node.js TypeScript program with Visual Studio Code project setup, including working code completion.

Usage

node spacefix.js --force -tab=2 file1 [file2 ...]

Both --force (or -f) and --tab (or -t) arguments can also appear multiple times at any point in-between files, allowing to change behavior for following files.

Build

git clone https://github.com/garnetius/spacefix-ts.git spacefix
cd spacefix
npm ci
npm run build

Releases

No releases published

Packages

No packages published