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

sane-format

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sane-format

attempts to reformat javascript to comply with a sane legible style

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

sane-format

This is a fork of hapiness-format same concept but with soft 4 space tabs like the rest of the world uses!

Installation

Install with npm

$ npm install -g sane-format

Example Usage

Output all formatted javascript in a directory and subdirectories to stdout

$ sane-format

Format all javascript files, overwriting them into standard format

$ sane-format -w

Format javascript over stdin

$ sane-format < file.js > formatted-file.js

Format and overwrite specific files

$ sane-format -w file1.js file2.js

Editor plugins

Science :mortar_board:

A new step should be added to the modification cycle: modifying the program to make it readable.

Elshoff & Marcotty, 1982

FAQs

Package last updated on 09 Sep 2016

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