JSPM

  • Created
  • Published
  • Downloads 2721
  • Score
    100M100P100Q108552F
  • License BSD

attempts to reformat javascript to comply with feross/standard style

Package Exports

  • standard-format

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (standard-format) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

standard-format

Build Status

experimental auto formatter for the easier cases in standard

NPM

Installation

Install with npm

$ npm install -g 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