Skip to content
This repository was archived by the owner on Apr 6, 2021. It is now read-only.

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

⚗️ Text files whitespace fixer

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages