{"library":"prettier-plugin-properties","title":"Prettier Plugin for Properties Files","description":"A Prettier plugin that adds support for formatting .properties files, version 0.3.1, with a stable release cadence and active maintenance. It integrates with Prettier v2.3 and later, providing dedicated formatting for Java-style property files. Key differentiators include support for escape non-Latin-1 characters (for ISO-8859-1 encoding) and customizable key-value separators (space, colon, equals with various spacing). Unlike generic formatters, this plugin understands the .properties syntax, handling comments, multi-line values, and Unicode escaping correctly.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install prettier-plugin-properties"],"cli":null},"imports":["// In .prettierrc: plugins: ['prettier-plugin-properties']","// In .prettierrc: { escapeNonLatin1: true }","// In .prettierrc: { keySeparator: ' = ' }"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// Install\nnpm install --save-dev prettier prettier-plugin-properties\n\n// .prettierrc\n{\n  \"plugins\": [\"prettier-plugin-properties\"],\n  \"keySeparator\": \" = \",\n  \"escapeNonLatin1\": false\n}\n\n// Run\nnpx prettier --write file.properties\n\n// file.properties input\nname = John Doe\nage=30\nkey with spaces: value\n\\u00e9\\u00e0\n\n// file.properties output\nname = John Doe\nage = 30\nkey with spaces = value\n\\u00e9\\u00e0","lang":"javascript","description":"Shows installation, configuration with options, and formatting of a .properties file.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}