{"library":"prettier-plugin-hermes-parser","title":"Prettier Hermes Parser Plugin (Bleeding Edge)","description":"prettier-plugin-hermes-parser provides a Prettier plugin that integrates the Hermes JavaScript parser for code formatting. Currently at version 0.35.0, this package is explicitly designed for users who require 'bleeding edge' access to the very latest features and updates from the Hermes parser within their Prettier workflow. For general, stable project use, the official `@prettier/plugin-hermes` is the recommended and more widely supported alternative, offering a more robust integration path. The release cadence of this specific plugin is typically tied directly to updates in the Hermes parser itself, which may result in less frequent or less predictable releases compared to mainstream Prettier plugins. Its primary differentiator is its direct, early adoption of Hermes parsing capabilities, making it suitable for experimenting with new language features or advanced use cases that specifically target the Hermes engine.","language":"javascript","status":"maintenance","last_verified":"Sun Apr 19","install":{"commands":["npm install prettier-plugin-hermes-parser"],"cli":null},"imports":["// .prettierrc\n{\n  \"plugins\": [\"prettier-plugin-hermes-parser\"]\n}","// .prettierrc\n{\n  \"overrides\": [\n    {\n      \"files\": \"*.js\",\n      \"options\": {\n        \"parser\": \"hermes\"\n      }\n    }\n  ]\n}","// prettier.config.js (CommonJS)\nmodule.exports = {\n  plugins: [require('prettier-plugin-hermes-parser')],\n  overrides: [\n    { files: ['*.js', '*.jsx'], options: { parser: 'hermes' } }\n  ]\n};"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"{\n  \"plugins\": [\"prettier-plugin-hermes-parser\"],\n  \"overrides\": [\n    {\n      \"files\": [\".js\", \".jsx\", \".flow\"],\n      \"options\": {\n        \"parser\": \"hermes\"\n      }\n    }\n  ]\n}","lang":"json","description":"This configuration snippet for `.prettierrc` loads the Hermes parser plugin and then instructs Prettier to use the 'hermes' parser for `.js`, `.jsx`, and `.flow` files.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}