ajsfmt
attempts to reformat javascript to comply with the Atlassian JS Style
Last updated 5 years ago by wbinnssmith .
BSD-2-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ajsfmt 
SYNC missed versions from official npm registry.

ajsfmt

experimental auto formatter for the Atlassian JS Code Quality Guide

Installation

Install with npm

$ npm install -g ajsfmt

Example Usage

Format all javascript files, overwriting them into Atlassian Format

$ ajsfmt -w

Format javascript over stdin

$ ajsfmt < file.js > formatted-file.js

Format and overwrite specific files

$ ajsfmt -w file1.js file2.js

History and License

This project began as a fork of standard-format, a project from Max Ogden which itself uses esformatter.

Since then the two have diverged but the cli remains similar.

Portions (c) Max Ogden and standard-format contributors

Current Tags

  • 1.11.0                                ...           latest (5 years ago)

6 Versions

  • 1.11.0                                ...           5 years ago
  • 1.10.0                                ...           5 years ago
  • 1.9.0                                ...           5 years ago
  • 1.8.0                                ...           5 years ago
  • 1.6.2                                ...           5 years ago
  • 1.6.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (10)
Dev Dependencies (11)
Dependents (3)

Copyright 2014 - 2017 © taobao.org |