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

@algolia/jsfmt

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@algolia/jsfmt

`jsfmt` your code using Algolia's JavaScript style guide

  • 1.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-40%
Maintainers
2
Weekly downloads
 
Created
Source

jsfmt

jsfmt your code using Algolia's JavaScript style guide.

Based on esformatter. Ths is not a fork of rdio/jsfmt.

Mostly done because there was not a single tool that could "reformat all the JavaScript but node_modules/ or dist/ ..". Which is what you want 100% of the time.

How to use

npm install -g @algolia/jsfmt
# or locally
npm install @algolia/jsfmt --save-dev
cd unstyled-JavaScript-project

# rewrite *.js recursively, ignoring node_modules
jsfmt

# rewrite only a folder (recursively)
jsfmt folder

# show the diff, without rewriting
jsfmt --diff

FAQs

Package last updated on 08 Jul 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