Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ajsfmt

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ajsfmt

attempts to reformat javascript to comply with the Atlassian JS Style

  • 1.11.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 23 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc