uber-standard-format

attempts to reformat javascript to comply with uber/standard style

BSD 2 个版本
安装
npm install uber-standard-format
yarn add uber-standard-format
pnpm add uber-standard-format
bun add uber-standard-format
README

standard-format

Build Status

experimental auto formatter for the easier cases in uber-standard

NPM

Installation

Install with npm

$ npm install -g uber-standard-format

Example Usage

Output all formatted javascript in a directory and subdirectories to stdout

$ standard-format

Format all javascript files, overwriting them into standard format

$ standard-format -w

Format javascript over stdin

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

Format and overwrite specific files

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

Credits

This is a fork of maxogden/standard-format

版本列表
1.3.6 2015-04-16
1.3.5 2015-04-14