use-tabs

Convert spaces to tabs

Usage no npm install needed!

<script type="module">
  import useTabs from 'https://cdn.skypack.dev/use-tabs';
</script>

README

use-tabs

npm i -g use-tabs

# Convert spaces to tabs in all files in the working directory.
use-tabs

# Detect which files are indented with spaces, but don't change them.
use-tabs -n

# Use globs or relative file paths.
use-tabs *.js README.md

# Negated globs are supported.
use-tabs '!*.json'