Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including uber-standard-format with all npm packages installed. Try it out:

var uberStandardFormat = require("uber-standard-format")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

uber-standard-format v1.3.6

attempts to reformat javascript to comply with uber/standard style

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

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free