{"library":"mo-fmt","type":"library","category":null,"description":"A standalone CLI tool for formatting Motoko source files, built on Prettier (v2.7) and the prettier-plugin-motoko plugin. Current stable version is 0.13.0, released by DFINITY. It offers a simple command-line interface for formatting .mo files in-place or checking format compliance. The tool can be installed globally via npm or used via npx; portable executables are also available for environments without Node.js. Compared to using the underlying Prettier plugin directly, mo-fmt provides a streamlined, zero-configuration experience for Motoko developers.","language":"javascript","status":"active","version":"0.13.0","tags":["javascript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install mo-fmt","imports":["npx mo-fmt **/*.mo","Uses CLI only; no programmatic import.","Used via CLI; no direct plugin import."]},{"cmd":"yarn add mo-fmt","imports":[]},{"cmd":"pnpm add mo-fmt","imports":[]}],"homepage":"https://github.com/dfinity/prettier-plugin-motoko/tree/main/package/mo-fmt#readme","github":"https://github.com/dfinity/prettier-plugin-motoko","docs":null,"changelog":null,"pypi":null,"npm":"mo-fmt","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}