{"library":"prettier-plugin-motoko","type":"library","category":null,"description":"A Prettier plugin that adds formatting support for Motoko, the smart contract language of the Internet Computer (ICP). Current stable version is 0.13.0, released under the Apache 2.0 license. It integrates seamlessly into the Prettier ecosystem, allowing Motoko files to be formatted alongside other languages. Key differentiators include Motoko-specific options like motokoOrganizeImports (to group and sort imports by prefix) and motokoRemoveLinesAroundCodeBlocks (to strip extra blank lines), plus prettier-ignore comment support. It requires Prettier v2.7 or v3 as a peer dependency and ships with TypeScript type declarations.","language":"javascript","status":"active","version":"0.13.0","tags":["javascript","typescript"],"install":[{"cmd":"npm install prettier-plugin-motoko","imports":["import motokoPlugin from 'prettier-plugin-motoko'","plugins: ['prettier-plugin-motoko']","import type { Options } from 'prettier-plugin-motoko'"]},{"cmd":"yarn add prettier-plugin-motoko","imports":[]},{"cmd":"pnpm add prettier-plugin-motoko","imports":[]}],"homepage":"https://github.com/dfinity/prettier-plugin-motoko#readme","github":"https://github.com/dfinity/prettier-plugin-motoko","docs":null,"changelog":null,"pypi":null,"npm":"prettier-plugin-motoko","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Thu Jun 04","next_check":"Wed Sep 02","install_tag":null}}