https://github.com/web-mech/formattic
cli to format/prettify the web things
https://github.com/web-mech/formattic
Last synced: 3 months ago
JSON representation
cli to format/prettify the web things
- Host: GitHub
- URL: https://github.com/web-mech/formattic
- Owner: web-mech
- Created: 2015-08-26T19:07:31.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-09-09T00:14:55.000Z (over 10 years ago)
- Last Synced: 2025-02-04T17:18:24.772Z (11 months ago)
- Language: JavaScript
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Formattic
CLI for web/css/js prettification
## Installation
Install with npm
$ npm install -g formattic
## Usage
$ fomattic -h
Usage: formattic [options]
Options:
-h, --help output usage information
-V, --version output the version number
-p, --path [path] input directory
-f, --filter [filter] type of files to format
-s, --standardize standardize code
-w, --watch watch and auto-format code
### TODO
- https://github.com/uber/standard-format
- https://github.com/maxogden/standard-format
- https://github.com/benjamn/recast
- .formatticrc configuration
- STREAMS: finder returns a stream in which transforms are added in the form of middleware.