semi-4standard-format

attempts to reformat javascript to comply with feross/standard style but with semicolons and 4 space tabs

Usage no npm install needed!

<script type="module">
  import semi4standardFormat from 'https://cdn.skypack.dev/semi-4standard-format';
</script>

README

semistandard-format

This is a fork of standard-format same concept but with semicolons.

Installation

Install with npm

$ npm install -g semistandard-format

Example Usage

Output all formatted javascript in a directory and subdirectories to stdout

$ semistandard-format

Format all javascript files, overwriting them into standard format

$ semistandard-format -w

Format javascript over stdin

$ semistandard-format < file.js > formatted-file.js

Format and overwrite specific files

$ semistandard-format -w file1.js file2.js

Editor plugins

Science :mortar_board:

A new step should be added to the modification cycle: modifying the program to make it readable.

Elshoff & Marcotty, 1982