A CLI tool for formatting multiple syntaxes including JavaScript, CSS, JSON, Markdown, Jade/Pug, and Less. Version 0.1.4 is the latest stable release with no recent updates. It wraps several formatters like js-beautify, csscomb, pug-beautify, and prettify-markdown into a single command. Compared to Prettier, it supports more legacy formats but lacks active maintenance.
npm install multi-formatterNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install globally, then format JavaScript, JSON, and Markdown files in a directory.
Consider migrating to Prettier for active development.
Use -g flag: npm install -g multi-formatter
Check output; may need to rename files to .js, .json, .css, .md, .pug, .less
Configure formatters individually if needed.
Run: npm install -g multi-formatter
Provide a valid directory or file path.
Validate JSON separately or adjust file content.