{
  "id": "task_libraries:code-formatter/javascript",
  "path": "/exapedia/javascript-code-formatter-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "JavaScript code formatter libraries",
  "answer": [
    {
      "t": "text",
      "text": "JavaScript code formatters rewrite source files in one consistent style for indentation, line breaks, quotes, and semicolons. These libraries run in editors, pre-commit hooks, and CI to keep code written by developers and coding agents in one style."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "JavaScript code formatter libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#prettier",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F159"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F160"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F166"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F163"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F161"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#oxfmt",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F174"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F181"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F178"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F176"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#biome",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F189"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F196"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F191"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#js-beautifier",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F204"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F205"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F208"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F206"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#dprint",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F219"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F220"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F228"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F221"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "npm"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#prettier",
          "label": [
            {
              "t": "fact",
              "fact": "F159"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most installs and the most GitHub stars."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Formats TypeScript",
            "Formats HTML",
            "Formats CSS"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#prettier",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F159"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F169"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#oxfmt",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F174"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F182"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F183"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F184"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#biome",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F189"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F197"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F198"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F199"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#js-beautifier",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F204"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F214"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#dprint",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F219"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F229"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F230"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F231"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "prettier",
          "name": [
            {
              "t": "fact",
              "fact": "F159"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/prettier/prettier"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/prettier"
            },
            {
              "label": "Docs",
              "href": "https://github.com/prettier/prettier/blob/deda65fd47c285b974e2a4397f26a33cfc1746b8/docs/api.md"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "Prettier parses source code and reprints it from scratch in one consistent style, discarding the original formatting. When a line exceeds the print width, Prettier breaks it up, putting each argument of a long function call on its own line. Supported languages include JavaScript, TypeScript, JSX, CSS, HTML, JSON, GraphQL, Markdown, and YAML. From JavaScript, "
            },
            {
              "t": "code",
              "text": "prettier.format"
            },
            {
              "t": "text",
              "text": " takes the source text and an options object. Its "
            },
            {
              "t": "code",
              "text": "parser"
            },
            {
              "t": "text",
              "text": " option sets the language, or "
            },
            {
              "t": "code",
              "text": "filepath"
            },
            {
              "t": "text",
              "text": " lets Prettier infer the language from the file extension. A second function, "
            },
            {
              "t": "code",
              "text": "prettier.check"
            },
            {
              "t": "text",
              "text": ", reports whether a file is formatted, the same check the "
            },
            {
              "t": "code",
              "text": "--check"
            },
            {
              "t": "text",
              "text": " flag runs in CI."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F160"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F166"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F161"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/prettier/prettier/blob/deda65fd47c285b974e2a4397f26a33cfc1746b8/docs/api.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F159"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F13"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Async API"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "Every API call returns a promise. Synchronous use needs the separate "
                },
                {
                  "t": "code",
                  "text": "@prettier/sync"
                },
                {
                  "t": "text",
                  "text": " package."
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Few style options"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "Prettier describes itself as opinionated. Most layout choices are fixed rather than configurable."
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/prettier/prettier-vscode",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F172"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "typescript",
              "code": "public async format(\n    source: string,\n    options?: Options | undefined,\n  ): Promise<string> {\n    if (!this.prettierModule) {\n      await this.import();\n    }\n    return this.prettierModule!.format(source, options);\n  }\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/prettier/prettier-vscode/blob/b3d5ea136fadf5a4cac835df074dc12fcb398b0c/src/PrettierDynamicInstance.ts#L55-L63",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F171"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=TypeScript%20projects%20using%20prettier%20for%20source%20formatting%2C%20configuration%20resolution%2C%20range%20formatting%20and%20embedded%20language%20plugins&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F159"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "typescript",
              "code": "import * as prettier from \"prettier\";\n\nawait prettier.format(\"foo ( );\", { semi: false, parser: \"babel\" });\n// -> 'foo()\\n'\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/prettier/prettier/blob/deda65fd47c285b974e2a4397f26a33cfc1746b8/docs/api.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "api.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F164"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "oxfmt",
          "name": [
            {
              "t": "fact",
              "fact": "F174"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/oxc-project/oxc"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/oxfmt"
            },
            {
              "label": "Docs",
              "href": "https://oxc.rs/docs/guide/usage/formatter/quickstart"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "Oxfmt is a formatter for JavaScript, TypeScript, and other web languages, built on the Oxc compiler stack. Its output starts from what "
            },
            {
              "t": "link",
              "href": "#prettier",
              "label": [
                {
                  "t": "text",
                  "text": "Prettier"
                }
              ]
            },
            {
              "t": "text",
              "text": " prints. A project migrating from a recent Prettier version sees few formatting differences. The Oxfmt team treats any unexpected difference as a bug. Import sorting, Tailwind CSS class sorting, and package.json field sorting come built in, where Prettier needs plugins. The "
            },
            {
              "t": "code",
              "text": "oxfmt"
            },
            {
              "t": "text",
              "text": " command formats files in place. With "
            },
            {
              "t": "code",
              "text": "--check"
            },
            {
              "t": "text",
              "text": ", the command lists unformatted files and leaves their contents unchanged."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F181"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F177"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F176"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://oxc.rs/docs/guide/usage/formatter/quickstart",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F174"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "text",
                  "text": "No Prettier plugins"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "Prettier plugins don't load. Oxfmt builds in the most popular ones instead."
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Different defaults"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "The default print width is a hundred characters, compared with eighty in Prettier. A "
                },
                {
                  "t": "code",
                  "text": "prettier"
                },
                {
                  "t": "text",
                  "text": " field in package.json isn't read."
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F187"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F188"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/zwave-js/zwave-js",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F187"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "typescript",
              "code": "export async function formatWithOxfmt(\n\tfilename: string,\n\tsourceText: string,\n\toptions?: Partial<FormatConfig>,\n): Promise<string> {\n\tconst { code, errors } = await format(filename, sourceText, {\n\t\t...(await getFormatOptions(filename)),\n\t\t...options,\n\t});\n\tif (errors.length) {\n\t\tthrow new Error(\n\t\t\terrors\n\t\t\t\t.map((error) => error.codeframe ?? error.message)\n\t\t\t\t.join(\"\\n\\n\"),\n\t\t);\n\t}\n\treturn code;\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/zwave-js/zwave-js/blob/e17a1f131e36c96bd2975f5642b3be386abebd93/packages/maintenance/src/oxfmt.ts#L71-L88",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F186"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=TypeScript%20projects%20using%20oxfmt%20for%20source%20formatting%2C%20configuration%20resolution%2C%20range%20formatting%20and%20embedded%20language%20plugins&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F174"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "typescript",
              "code": "import { format, type FormatOptions } from \"oxfmt\";\n\nconst input = `let a=42;`;\nconst options: FormatOptions = {\n  semi: false,\n};\n\nconst { code } = await format(\"a.js\", input, options);\nconsole.log(code); // \"let a = 42\"\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://raw.githubusercontent.com/oxc-project/website/main/src/docs/guide/usage/formatter/quickstart.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "quickstart.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F179"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "biome",
          "name": [
            {
              "t": "fact",
              "fact": "F189"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/biomejs/biome"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@biomejs/biome"
            },
            {
              "label": "Docs",
              "href": "https://raw.githubusercontent.com/biomejs/biome/main/packages/@biomejs/biome/README.md"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "Biome is a toolchain that formats and lints JavaScript, TypeScript, JSX, JSON, CSS, GraphQL, HTML, and other web languages in one program. The formatter matches "
            },
            {
              "t": "link",
              "href": "#prettier",
              "label": [
                {
                  "t": "text",
                  "text": "Prettier"
                }
              ]
            },
            {
              "t": "text",
              "text": " on about ninety-seven percent of cases. A linter with more than seven hundred and fifty rules, drawn from ESLint, typescript-eslint, and other sources, ships in the same binary. On the command line, "
            },
            {
              "t": "code",
              "text": "biome format --write"
            },
            {
              "t": "text",
              "text": " formats files, while "
            },
            {
              "t": "code",
              "text": "biome check --write"
            },
            {
              "t": "text",
              "text": " runs formatting, linting, and safe fixes together. Biome runs without Node.js."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F196"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F191"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://raw.githubusercontent.com/biomejs/biome/main/packages/@biomejs/biome/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F189"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F65"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F66"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F67"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F68"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Prettier differences"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "Output differs from Prettier on a small share of cases. Switching formatters produces some diffs to review."
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/calcom/cal.diy",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F202"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "typescript",
              "code": "const formatFileWithBiome = (filePath: string) => {\n  // Normalize to forward slashes for cross-platform Biome compatibility\n  const normalizedPath = filePath.replace(/\\\\/g, \"/\");\n  const { status } = spawnSync(\n    \"yarn\",\n    [\"biome\", \"format\", \"--write\", \"--no-errors-on-unmatched\", normalizedPath],\n    {\n      stdio: \"inherit\",\n      cwd: repoRoot,\n      shell: true,\n    }\n  );\n\n  if (status !== 0) {\n    throw new Error(`Biome formatting failed for ${filePath}`);\n  }\n};\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/calcom/cal.diy/blob/ae027bb70e694e2d2c44569f398d6cbcee0389b1/packages/app-store-cli/src/build.ts#L16-L32",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F201"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=TypeScript%20projects%20using%20%40biomejs/biome%20for%20source%20formatting%2C%20configuration%20resolution%2C%20range%20formatting%20and%20embedded%20language%20plugins&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F189"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "typescript",
              "code": "# format files\nnpx @biomejs/biome format --write\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://raw.githubusercontent.com/biomejs/biome/main/packages/@biomejs/biome/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F194"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "js-beautifier",
          "name": [
            {
              "t": "fact",
              "fact": "F204"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/beautifier/js-beautify"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/js-beautify"
            },
            {
              "label": "Docs",
              "href": "https://github.com/beautifier/js-beautify/blob/20ff725dbe9fe28fbf779c3ef38efdd827cea995/README.md"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "JS Beautifier reformats and re-indents JavaScript. The same tool unpacks packed scripts and partly deobfuscates obfuscated code. The npm package, "
            },
            {
              "t": "code",
              "text": "js-beautify"
            },
            {
              "t": "text",
              "text": ", installs a command-line program and three library functions: "
            },
            {
              "t": "code",
              "text": "js_beautify"
            },
            {
              "t": "text",
              "text": ", "
            },
            {
              "t": "code",
              "text": "css_beautify"
            },
            {
              "t": "text",
              "text": ", and "
            },
            {
              "t": "code",
              "text": "html_beautify"
            },
            {
              "t": "text",
              "text": ". Each function takes a string of code and an options object, such as "
            },
            {
              "t": "code",
              "text": "indent_size"
            },
            {
              "t": "text",
              "text": " for the indent width. A Python port, "
            },
            {
              "t": "code",
              "text": "jsbeautifier"
            },
            {
              "t": "text",
              "text": ", formats JavaScript only."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F205"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F207"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F206"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/beautifier/js-beautify/blob/20ff725dbe9fe28fbf779c3ef38efdd827cea995/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F204"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F85"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F86"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F87"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F88"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Fewer HTML options"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "The CSS and HTML beautifiers are simpler in scope and have far fewer options than the JavaScript one."
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Few maintainers"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "The README asks for contributors because the current owners have very limited time for the project."
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F217"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F218"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/HookyQR/VSCodeBeautify",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F217"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "typescript",
              "code": "const beautifyDocRanges = (doc, ranges, type, formattingOptions, isPartial) => {\n  if (!doc) {\n    vscode.window.showInformationMessage(\n      'Beautify can\\'t get the file information because the editor won\\'t supply it. (File probably too large)');\n    throw '';\n  }\n  return Promise.resolve(type ? type : getBeautifyType())\n    .then(type => options(doc, type, formattingOptions)\n      .then(config => removeNewLineEndForPartial(config, isPartial))\n      .then(config => Promise.all(ranges.map(range =>\n        beautify[type](doc.getText(range), config)))));\n};\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/HookyQR/VSCodeBeautify/blob/6dfff2f014acb7358ef67aadc77bc0aa8f255e7e/extension.js#L34-L45",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F216"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=TypeScript%20projects%20using%20js-beautify%20for%20source%20formatting%2C%20configuration%20resolution%2C%20range%20formatting%20and%20embedded%20language%20plugins&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F204"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "typescript",
              "code": "js-beautify foo.js\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://raw.githubusercontent.com/beautifier/js-beautify/main/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F209"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "dprint",
          "name": [
            {
              "t": "fact",
              "fact": "F219"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/dprint/dprint"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/dprint"
            },
            {
              "label": "Docs",
              "href": "https://raw.githubusercontent.com/dprint/dprint/main/README.md"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "dprint is a command-line formatter that runs the language plugins a project lists in a "
            },
            {
              "t": "code",
              "text": "dprint.json"
            },
            {
              "t": "text",
              "text": " file. "
            },
            {
              "t": "code",
              "text": "dprint init"
            },
            {
              "t": "text",
              "text": " creates that file and preselects plugins that match the files in the directory. After setup, "
            },
            {
              "t": "code",
              "text": "dprint fmt"
            },
            {
              "t": "text",
              "text": " formats the project. A second command, "
            },
            {
              "t": "code",
              "text": "dprint check"
            },
            {
              "t": "text",
              "text": ", lists unformatted files. Plugins cover TypeScript, JSON, Markdown, TOML, Dockerfiles, and SQL. Wrapper plugins run other formatters, such as "
            },
            {
              "t": "link",
              "href": "#prettier",
              "label": [
                {
                  "t": "text",
                  "text": "Prettier"
                }
              ]
            },
            {
              "t": "text",
              "text": ", "
            },
            {
              "t": "link",
              "href": "#biome",
              "label": [
                {
                  "t": "text",
                  "text": "Biome"
                }
              ]
            },
            {
              "t": "text",
              "text": ", and Oxc, behind the same command."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F220"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F228"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F222"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F221"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://raw.githubusercontent.com/dprint/dprint/main/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F219"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F239"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F240"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Config file first"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "Formatting reads the plugin list from "
                },
                {
                  "t": "code",
                  "text": "dprint.json"
                },
                {
                  "t": "text",
                  "text": ". A new project runs "
                },
                {
                  "t": "code",
                  "text": "dprint init"
                },
                {
                  "t": "text",
                  "text": " before the first "
                },
                {
                  "t": "code",
                  "text": "dprint fmt"
                },
                {
                  "t": "text",
                  "text": "."
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "text",
                  "text": "One plugin per language"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "A language is formatted only after its plugin is added to the config."
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F234"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/liquity/bold",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F234"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "async function format(content: string) {\n  const dprint = $`dprint fmt --stdin tsx`.quiet();\n  dprint.stdin.write(content);\n  dprint.stdin.end();\n  const { stdout } = await dprint;\n  return stdout;\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/liquity/bold/blob/d262669ef3c4d37bf0544df3bb2624c07b8a5ee0/frontend/uikit/scripts/update-icons.ts#L111-L117",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F233"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=dprint%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F219"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "dprint init\n\ndprint fmt\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://raw.githubusercontent.com/dprint/dprint/main/website/src/setup.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "setup.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F224"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which JavaScript formatter should I use?",
      "a": [
        {
          "t": "text",
          "text": "Use "
        },
        {
          "t": "link",
          "href": "#prettier",
          "label": [
            {
              "t": "text",
              "text": "Prettier"
            }
          ]
        },
        {
          "t": "text",
          "text": " by default. It has the most downloads by far, at "
        },
        {
          "t": "fact",
          "fact": "F160"
        },
        {
          "t": "text",
          "text": " a month. Choose "
        },
        {
          "t": "link",
          "href": "#biome",
          "label": [
            {
              "t": "text",
              "text": "Biome"
            }
          ]
        },
        {
          "t": "text",
          "text": " to replace Prettier and ESLint with one tool, or "
        },
        {
          "t": "link",
          "href": "#oxfmt",
          "label": [
            {
              "t": "text",
              "text": "Oxfmt"
            }
          ]
        },
        {
          "t": "text",
          "text": " for Prettier-style output that runs much faster."
        }
      ]
    },
    {
      "q": "ESLint vs Prettier: do I need both?",
      "a": [
        {
          "t": "text",
          "text": "Yes, for most projects. Prettier formats code, and ESLint catches bugs. Turn off the ESLint style rules that conflict with Prettier so the two tools don't fight."
        }
      ]
    },
    {
      "q": "Biome vs Prettier: which should I use?",
      "a": [
        {
          "t": "text",
          "text": "Biome formats and lints in one pass, and "
        },
        {
          "t": "code",
          "text": "biome migrate prettier"
        },
        {
          "t": "text",
          "text": " copies existing Prettier settings into Biome. Its defaults differ from Prettier's, so review the output after switching. Stay on Prettier for projects that rely on its plugins."
        }
      ]
    },
    {
      "q": "Oxfmt vs Prettier: can I switch?",
      "a": [
        {
          "t": "text",
          "text": "Yes, in most projects. Oxfmt uses Prettier's output as its baseline, so projects on a recent Prettier version see few differences. Oxfmt doesn't load Prettier plugins, but it builds in import sorting and Tailwind CSS class sorting."
        }
      ]
    },
    {
      "q": "How do I check formatting in CI?",
      "a": [
        {
          "t": "text",
          "text": "Run "
        },
        {
          "t": "code",
          "text": "prettier . --check"
        },
        {
          "t": "text",
          "text": ". The command fails when any file isn't formatted, without changing the files."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, prettier",
      "display": "Prettier",
      "asOf": "2026-11-18"
    },
    "F2": {
      "label": "Monthly downloads, prettier",
      "display": "695.0M",
      "asOf": "2026-11-15"
    },
    "F3": {
      "label": "License, prettier",
      "display": "MIT",
      "asOf": "2026-11-18"
    },
    "F4": {
      "label": "Package release, prettier",
      "display": "3.10.1",
      "asOf": "2026-11-12"
    },
    "F5": {
      "label": "Package release date, prettier",
      "display": "Nov 2026",
      "asOf": "2026-11-12"
    },
    "F6": {
      "label": "Repository stars, prettier",
      "display": "52.4K",
      "asOf": "2026-11-18"
    },
    "F7": {
      "label": "Formats JavaScript, prettier",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F8": {
      "label": "Formats TypeScript, prettier",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F9": {
      "label": "Formats HTML, prettier",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F10": {
      "label": "Formats CSS, prettier",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F11": {
      "label": "Install, prettier",
      "display": "npm install prettier",
      "asOf": "2026-11-18"
    },
    "F12": {
      "label": "What it does, prettier",
      "display": "Parses source code and reprints it in one consistent style, ignoring the original layout.",
      "asOf": "2026-11-18"
    },
    "F13": {
      "label": "strengths lead, prettier",
      "display": "Reads project settings",
      "asOf": "2026-11-18"
    },
    "F14": {
      "label": "strengths, prettier",
      "display": "Finds the config file for each source file before formatting it.",
      "asOf": "2026-11-18"
    },
    "F15": {
      "label": "strengths lead, prettier",
      "display": "Picks the parser from the file name",
      "asOf": "2026-11-18"
    },
    "F16": {
      "label": "strengths, prettier",
      "display": "Pass a file path, and Prettier chooses the language parser.",
      "asOf": "2026-11-18"
    },
    "F17": {
      "label": "limitations lead, prettier",
      "display": "Async API only",
      "asOf": "2026-11-18"
    },
    "F18": {
      "label": "limitations, prettier",
      "display": "Every API call returns a promise. Synchronous use needs the separate @prettier/sync package.",
      "asOf": "2026-11-18"
    },
    "F19": {
      "label": "limitations lead, prettier",
      "display": "Formatting needs a language hint",
      "asOf": "2026-11-18"
    },
    "F20": {
      "label": "limitations, prettier",
      "display": "Supply parser or filepath so Prettier can choose the language.",
      "asOf": "2026-11-18"
    },
    "F21": {
      "label": "Quickstart, prettier",
      "display": "import * as prettier from \"prettier\";\n\nawait prettier.format(\"foo ( );\", { semi: false, parser: \"babel\" });\n// -> 'foo()\\n'\n",
      "asOf": "2026-11-18"
    },
    "F22": {
      "label": "Project function, prettier",
      "display": "public async format(\n    source: string,\n    options?: Options | undefined,\n  ): Promise<string> {\n    if (!this.prettierModule) {\n      await this.import();\n    }\n    return this.prettierModule!.format(source, options);\n  }\n",
      "asOf": "2026-11-18"
    },
    "F23": {
      "label": "Project function reference, prettier",
      "display": "PrettierDynamicInstance.ts · format()",
      "asOf": "2026-11-18"
    },
    "F24": {
      "label": "Project repository, prettier",
      "display": "prettier/prettier-vscode",
      "asOf": "2026-11-18"
    },
    "F25": {
      "label": "Project stars, prettier/prettier-vscode",
      "display": "5.5K",
      "asOf": "2026-11-18"
    },
    "F26": {
      "label": "Project push date, prettier/prettier-vscode",
      "display": "Jun 2026",
      "asOf": "2026-06-03"
    },
    "F27": {
      "label": "Library name, oxfmt",
      "display": "Oxfmt",
      "asOf": "2026-11-18"
    },
    "F28": {
      "label": "Monthly downloads, oxfmt",
      "display": "109.3M",
      "asOf": "2026-11-16"
    },
    "F29": {
      "label": "License, oxfmt",
      "display": "MIT",
      "asOf": "2026-11-18"
    },
    "F30": {
      "label": "Package release, oxfmt",
      "display": "0.79.0",
      "asOf": "2026-11-16"
    },
    "F31": {
      "label": "Package release date, oxfmt",
      "display": "Nov 2026",
      "asOf": "2026-11-16"
    },
    "F32": {
      "label": "Repository stars, oxfmt",
      "display": "23.5K",
      "asOf": "2026-11-18"
    },
    "F33": {
      "label": "Formats JavaScript, oxfmt",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F34": {
      "label": "Formats TypeScript, oxfmt",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F35": {
      "label": "Formats HTML, oxfmt",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F36": {
      "label": "Formats CSS, oxfmt",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F37": {
      "label": "Install, oxfmt",
      "display": "npm install oxfmt",
      "asOf": "2026-11-18"
    },
    "F38": {
      "label": "What it does, oxfmt",
      "display": "A Prettier-compatible formatter with import and Tailwind CSS class sorting built in.",
      "asOf": "2026-11-18"
    },
    "F39": {
      "label": "strengths lead, oxfmt",
      "display": "Sorting built in",
      "asOf": "2026-11-18"
    },
    "F40": {
      "label": "strengths, oxfmt",
      "display": "Sorts imports, Tailwind CSS classes, and package.json fields without plugins.",
      "asOf": "2026-11-18"
    },
    "F41": {
      "label": "strengths lead, oxfmt",
      "display": "Takes source text directly",
      "asOf": "2026-11-18"
    },
    "F42": {
      "label": "strengths, oxfmt",
      "display": "Call format() with a file name, the source text, and options.",
      "asOf": "2026-11-18"
    },
    "F43": {
      "label": "limitations lead, oxfmt",
      "display": "No Prettier plugins",
      "asOf": "2026-11-18"
    },
    "F44": {
      "label": "limitations, oxfmt",
      "display": "Prettier plugins don't load. Oxfmt builds in the most popular ones instead.",
      "asOf": "2026-11-18"
    },
    "F45": {
      "label": "limitations lead, oxfmt",
      "display": "Some settings move",
      "asOf": "2026-11-18"
    },
    "F46": {
      "label": "limitations, oxfmt",
      "display": "When migrating, move a prettier field in package.json into a config file.",
      "asOf": "2026-11-18"
    },
    "F47": {
      "label": "Quickstart, oxfmt",
      "display": "import { format, type FormatOptions } from \"oxfmt\";\n\nconst input = `let a=42;`;\nconst options: FormatOptions = {\n  semi: false,\n};\n\nconst { code } = await format(\"a.js\", input, options);\nconsole.log(code); // \"let a = 42\"\n",
      "asOf": "2026-11-18"
    },
    "F48": {
      "label": "Project function, oxfmt",
      "display": "export async function formatWithOxfmt(\n\tfilename: string,\n\tsourceText: string,\n\toptions?: Partial<FormatConfig>,\n): Promise<string> {\n\tconst { code, errors } = await format(filename, sourceText, {\n\t\t...(await getFormatOptions(filename)),\n\t\t...options,\n\t});\n\tif (errors.length) {\n\t\tthrow new Error(\n\t\t\terrors\n\t\t\t\t.map((error) => error.codeframe ?? error.message)\n\t\t\t\t.join(\"\\n\\n\"),\n\t\t);\n\t}\n\treturn code;\n}\n",
      "asOf": "2026-11-18"
    },
    "F49": {
      "label": "Project function reference, oxfmt",
      "display": "oxfmt.ts · formatWithOxfmt()",
      "asOf": "2026-11-18"
    },
    "F50": {
      "label": "Project repository, oxfmt",
      "display": "zwave-js/zwave-js",
      "asOf": "2026-11-18"
    },
    "F51": {
      "label": "Project stars, zwave-js/zwave-js",
      "display": "898",
      "asOf": "2026-11-18"
    },
    "F52": {
      "label": "Project push date, zwave-js/zwave-js",
      "display": "Nov 2026",
      "asOf": "2026-11-17"
    },
    "F53": {
      "label": "Library name, @biomejs/biome",
      "display": "Biome",
      "asOf": "2026-11-18"
    },
    "F54": {
      "label": "Monthly downloads, @biomejs/biome",
      "display": "102.3M",
      "asOf": "2026-11-16"
    },
    "F55": {
      "label": "License, @biomejs/biome",
      "display": "MIT OR Apache-2.0",
      "asOf": "2026-11-18"
    },
    "F56": {
      "label": "Package release, @biomejs/biome",
      "display": "2.6.8",
      "asOf": "2026-11-15"
    },
    "F57": {
      "label": "Package release date, @biomejs/biome",
      "display": "Nov 2026",
      "asOf": "2026-11-15"
    },
    "F58": {
      "label": "Repository stars, @biomejs/biome",
      "display": "26.1K",
      "asOf": "2026-11-18"
    },
    "F59": {
      "label": "Formats JavaScript, @biomejs/biome",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F60": {
      "label": "Formats TypeScript, @biomejs/biome",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F61": {
      "label": "Formats HTML, @biomejs/biome",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F62": {
      "label": "Formats CSS, @biomejs/biome",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F63": {
      "label": "Install, @biomejs/biome",
      "display": "npm install --save-dev --save-exact @biomejs/biome",
      "asOf": "2026-11-18"
    },
    "F64": {
      "label": "What it does, @biomejs/biome",
      "display": "One tool that formats, lints, and organizes imports in a single pass.",
      "asOf": "2026-11-18"
    },
    "F65": {
      "label": "strengths lead, @biomejs/biome",
      "display": "Formats and lints together",
      "asOf": "2026-11-18"
    },
    "F66": {
      "label": "strengths, @biomejs/biome",
      "display": "One command runs the formatter, the linter, and import organizing.",
      "asOf": "2026-11-18"
    },
    "F67": {
      "label": "strengths lead, @biomejs/biome",
      "display": "Same settings in editor and CLI",
      "asOf": "2026-11-18"
    },
    "F68": {
      "label": "strengths, @biomejs/biome",
      "display": "One biome.json applies to both the command line and the editor.",
      "asOf": "2026-11-18"
    },
    "F69": {
      "label": "limitations lead, @biomejs/biome",
      "display": "Defaults differ from Prettier",
      "asOf": "2026-11-18"
    },
    "F70": {
      "label": "limitations, @biomejs/biome",
      "display": "Migrating writes every option out to keep the current output. Review the differences that remain.",
      "asOf": "2026-11-18"
    },
    "F71": {
      "label": "limitations lead, @biomejs/biome",
      "display": "HTML formatting is opt-in",
      "asOf": "2026-11-18"
    },
    "F72": {
      "label": "limitations, @biomejs/biome",
      "display": "Turn on HTML formatting before Biome formats HTML files.",
      "asOf": "2026-11-18"
    },
    "F73": {
      "label": "Quickstart, @biomejs/biome",
      "display": "# format files\nnpx @biomejs/biome format --write\n",
      "asOf": "2026-11-18"
    },
    "F74": {
      "label": "Library name, js-beautify",
      "display": "JS Beautifier",
      "asOf": "2026-11-18"
    },
    "F75": {
      "label": "Monthly downloads, js-beautify",
      "display": "64.0M",
      "asOf": "2026-11-16"
    },
    "F76": {
      "label": "License, js-beautify",
      "display": "MIT",
      "asOf": "2026-11-18"
    },
    "F77": {
      "label": "Package release, js-beautify",
      "display": "2.0.3",
      "asOf": "2026-06-30"
    },
    "F78": {
      "label": "Package release date, js-beautify",
      "display": "Jun 2026",
      "asOf": "2026-06-30"
    },
    "F79": {
      "label": "Repository stars, js-beautify",
      "display": "9.0K",
      "asOf": "2026-11-18"
    },
    "F80": {
      "label": "Formats JavaScript, js-beautify",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F81": {
      "label": "Formats HTML, js-beautify",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F82": {
      "label": "Formats CSS, js-beautify",
      "display": "Built-in",
      "asOf": "2026-11-18"
    },
    "F83": {
      "label": "Install, js-beautify",
      "display": "npm install js-beautify",
      "asOf": "2026-11-18"
    },
    "F84": {
      "label": "What it does, js-beautify",
      "display": "Reformats JavaScript, CSS, and HTML strings, with one function per language.",
      "asOf": "2026-11-18"
    },
    "F85": {
      "label": "strengths lead, js-beautify",
      "display": "One function per language",
      "asOf": "2026-11-18"
    },
    "F86": {
      "label": "strengths, js-beautify",
      "display": "Call the JavaScript, CSS, or HTML beautifier on a string of code.",
      "asOf": "2026-11-18"
    },
    "F87": {
      "label": "strengths lead, js-beautify",
      "display": "Fine-grained spacing options",
      "asOf": "2026-11-18"
    },
    "F88": {
      "label": "strengths, js-beautify",
      "display": "Set indent size and spacing options on each call.",
      "asOf": "2026-11-18"
    },
    "F89": {
      "label": "limitations lead, js-beautify",
      "display": "Fewer options for HTML and CSS",
      "asOf": "2026-11-18"
    },
    "F90": {
      "label": "limitations, js-beautify",
      "display": "The CSS and HTML beautifiers have far fewer options than the JavaScript one.",
      "asOf": "2026-11-18"
    },
    "F91": {
      "label": "limitations lead, js-beautify",
      "display": "Deobfuscation remains partial",
      "asOf": "2026-11-18"
    },
    "F92": {
      "label": "limitations, js-beautify",
      "display": "javascript-obfuscator output is only partly deobfuscated.",
      "asOf": "2026-11-18"
    },
    "F93": {
      "label": "Quickstart, js-beautify",
      "display": "var beautify = require('js-beautify/js').js,\n    fs = require('fs');\n\nfs.readFile('foo.js', 'utf8', function (err, data) {\n    if (err) {\n        throw err;\n    }\n    console.log(beautify(data, { indent_size: 2, space_in_empty_paren: true }));\n});\n",
      "asOf": "2026-11-18"
    },
    "F94": {
      "label": "Project function, js-beautify",
      "display": "const beautifyDocRanges = (doc, ranges, type, formattingOptions, isPartial) => {\n  if (!doc) {\n    vscode.window.showInformationMessage(\n      'Beautify can\\'t get the file information because the editor won\\'t supply it. (File probably too large)');\n    throw '';\n  }\n  return Promise.resolve(type ? type : getBeautifyType())\n    .then(type => options(doc, type, formattingOptions)\n      .then(config => removeNewLineEndForPartial(config, isPartial))\n      .then(config => Promise.all(ranges.map(range =>\n        beautify[type](doc.getText(range), config)))));\n};\n",
      "asOf": "2026-11-18"
    },
    "F95": {
      "label": "Project function reference, js-beautify",
      "display": "extension.js · beautifyDocRanges()",
      "asOf": "2026-11-18"
    },
    "F96": {
      "label": "Project repository, js-beautify",
      "display": "HookyQR/VSCodeBeautify",
      "asOf": "2026-11-18"
    },
    "F97": {
      "label": "Project stars, HookyQR/VSCodeBeautify",
      "display": "603",
      "asOf": "2026-11-18"
    },
    "F98": {
      "label": "Project push date, HookyQR/VSCodeBeautify",
      "display": "Dec 2021",
      "asOf": "2021-12-05"
    },
    "F99": {
      "label": "Library name, @dprint/formatter",
      "display": "dprint JS Formatter",
      "asOf": "2026-11-18"
    },
    "F100": {
      "label": "Monthly downloads, @dprint/formatter",
      "display": "1.5M",
      "asOf": "2026-11-16"
    },
    "F101": {
      "label": "License, @dprint/formatter",
      "display": "MIT",
      "asOf": "2026-11-18"
    },
    "F102": {
      "label": "Package release, @dprint/formatter",
      "display": "0.6.0",
      "asOf": "2026-10-10"
    },
    "F103": {
      "label": "Package release date, @dprint/formatter",
      "display": "Oct 2026",
      "asOf": "2026-10-10"
    },
    "F104": {
      "label": "Repository stars, @dprint/formatter",
      "display": "43",
      "asOf": "2026-11-18"
    },
    "F105": {
      "label": "Formats JavaScript, @dprint/formatter",
      "display": "Via plugin",
      "asOf": "2026-11-18"
    },
    "F106": {
      "label": "Formats TypeScript, @dprint/formatter",
      "display": "Via plugin",
      "asOf": "2026-11-18"
    },
    "F107": {
      "label": "Install, @dprint/formatter",
      "display": "npm install @dprint/formatter @dprint/typescript @dprint/json @dprint/markdown",
      "asOf": "2026-11-18"
    },
    "F108": {
      "label": "What it does, @dprint/formatter",
      "display": "Runs WASM code-formatting plugins from JavaScript.",
      "asOf": "2026-11-18"
    },
    "F109": {
      "label": "strengths lead, @dprint/formatter",
      "display": "Selects plugins by file type",
      "asOf": "2026-11-18"
    },
    "F110": {
      "label": "strengths, @dprint/formatter",
      "display": "Register plugins once and let the context choose the formatter.",
      "asOf": "2026-11-18"
    },
    "F111": {
      "label": "strengths lead, @dprint/formatter",
      "display": "Formats embedded code through hosts",
      "asOf": "2026-11-18"
    },
    "F112": {
      "label": "strengths, @dprint/formatter",
      "display": "Route embedded snippets to the plugin responsible for their file type.",
      "asOf": "2026-11-18"
    },
    "F113": {
      "label": "limitations lead, @dprint/formatter",
      "display": "Language support needs loaded plugins",
      "asOf": "2026-11-18"
    },
    "F114": {
      "label": "limitations, @dprint/formatter",
      "display": "Install and load the WASM plugins required for each file type.",
      "asOf": "2026-11-18"
    },
    "F115": {
      "label": "limitations lead, @dprint/formatter",
      "display": "WASI plugin access is sandboxed",
      "asOf": "2026-11-18"
    },
    "F116": {
      "label": "limitations, @dprint/formatter",
      "display": "WASI plugins cannot read files, arguments, or environment variables.",
      "asOf": "2026-11-18"
    },
    "F117": {
      "label": "Quickstart, @dprint/formatter",
      "display": "import { createContext } from \"@dprint/formatter\";\nimport * as json from \"@dprint/json\";\nimport * as markdown from \"@dprint/markdown\";\nimport * as typescript from \"@dprint/typescript\";\nimport fs from \"node:fs\";\n\nconst context = createContext({\n  // global config\n  indentWidth: 2,\n  lineWidth: 80,\n});\n\n// note: some plugins might have a getBuffer() export instead\ncontext.addPlugin(fs.readFileSync(typescript.getPath()), {\n  semiColons: \"asi\",\n});\ncontext.addPlugin(fs.readFileSync(json.getPath()));\ncontext.addPlugin(fs.readFileSync(markdown.getPath()));\n\nconsole.log(context.formatText({\n  filePath: \"config.json\",\n  fileText: \"{\\\"a\\\":1}\",\n}));\n\nconsole.log(context.formatText({\n  filePath: \"app.ts\",\n  fileText: \"const x=1\",\n}));\n",
      "asOf": "2026-11-18"
    },
    "F118": {
      "label": "Project function, @dprint/formatter",
      "display": "function setHostFormatters(f: Formatter, hostFormatters: Formatter[]) {\n  if (hostFormatters.length === 0) {\n    return;\n  }\n  const hosts = hostFormatters.map(hostFormatter => {\n    hostFormatter.setConfig({}, {});\n    return { formatter: hostFormatter, fileMatching: hostFormatter.getFileMatchingInfo() };\n  });\n  f.setHostFormatter(request => {\n    const fileName = request.filePath.split(/[\\/]/).pop() ?? \"\";\n    const extension = fileName.includes(\".\") ? fileName.slice(fileName.lastIndexOf(\".\") + 1).toLowerCase() : undefined;\n    const host = hosts.find(host =>\n      (extension != null && host.fileMatching.fileExtensions.some(ext => ext.toLowerCase() === extension))\n      || host.fileMatching.fileNames.includes(fileName)\n    );\n    if (host == null) {\n      return request.fileText;\n    }\n    try {\n      return host.formatter.formatText({ filePath: request.filePath, fileText: request.fileText });\n    } catch {\n      // like the CLI, code that doesn't parse is left as it is\n      return request.fileText;\n    }\n  });\n}\n",
      "asOf": "2026-11-18"
    },
    "F119": {
      "label": "Project function reference, @dprint/formatter",
      "display": "formatter.worker.ts · setHostFormatters()",
      "asOf": "2026-11-18"
    },
    "F120": {
      "label": "Project repository, @dprint/formatter",
      "display": "dprint/dprint",
      "asOf": "2026-11-18"
    },
    "F121": {
      "label": "Project stars, dprint/dprint",
      "display": "4.1K",
      "asOf": "2026-11-18"
    },
    "F122": {
      "label": "Project push date, dprint/dprint",
      "display": "Nov 2026",
      "asOf": "2026-11-16"
    },
    "F123": {
      "label": "Project function, @dprint/formatter",
      "display": "async (code, filename, options) => {\n  if (!dprint)\n    dprint = await import('@dprint/formatter')\n\n  const builtInLangs = {\n    json: '@dprint/json',\n    toml: '@dprint/toml',\n    markdown: '@dprint/markdown',\n    typescript: '@dprint/typescript',\n    dockerfile: '@dprint/dockerfile',\n  }\n\n  if (options.language) {\n    const lang = builtInLangs[options.language] || options.language\n    const promise = cache.has(lang)\n      ? cache.get(lang)\n      : cache.set(lang, loadBuffer(lang).then(r => dprint.createFromBuffer(r))).get(lang)\n\n    const formatter = await promise\n    const { lang: _, languageOptions = {}, ...rest } = options\n    formatter.setConfig(rest, languageOptions)\n    return formatter.formatText({\n      filePath: filename,\n      fileText: code,\n    })\n  }\n  else {\n    const { plugins, ...rest } = options\n    const options_hash = hash(options)\n    const context = context_cache.has(options_hash)\n      ? context_cache.get(options_hash)\n      : context_cache.set(options_hash, await (async () => {\n          const context = dprint.createContext(rest)\n\n          for (const plugin of plugins) {\n            context.addPlugin(await loadBuffer(plugin.plugin), plugin.options || {})\n          }\n\n          return context\n        })()).get(options_hash)\n\n    return context.formatText({\n      filePath: filename,\n      fileText: code,\n    })\n  }\n}\n",
      "asOf": "2026-11-18"
    },
    "F124": {
      "label": "Project function reference, @dprint/formatter",
      "display": "dprint.cjs · runAsWorker()",
      "asOf": "2026-11-18"
    },
    "F125": {
      "label": "Project repository, @dprint/formatter",
      "display": "antfu/eslint-plugin-format",
      "asOf": "2026-11-18"
    },
    "F126": {
      "label": "Project stars, antfu/eslint-plugin-format",
      "display": "202",
      "asOf": "2026-11-18"
    },
    "F127": {
      "label": "Project push date, antfu/eslint-plugin-format",
      "display": "Feb 2026",
      "asOf": "2026-02-25"
    },
    "F128": {
      "label": "Developer need",
      "display": "The standard formatter",
      "asOf": "2026-11-18"
    },
    "F129": {
      "label": "Why choose prettier",
      "display": "formats JavaScript, TypeScript, CSS, and HTML",
      "asOf": "2026-11-18"
    },
    "F130": {
      "label": "Developer need in introduction",
      "display": "default for whole-project JavaScript formatting",
      "asOf": "2026-11-18"
    },
    "F131": {
      "label": "Developer need",
      "display": "Import sorting built in",
      "asOf": "2026-11-18"
    },
    "F132": {
      "label": "Why choose oxfmt",
      "display": "sorts imports and Tailwind classes without plugins",
      "asOf": "2026-11-18"
    },
    "F133": {
      "label": "Developer need in introduction",
      "display": "import and Tailwind sorting alongside formatting",
      "asOf": "2026-11-18"
    },
    "F134": {
      "label": "When to consider prettier",
      "display": "for projects that depend on Prettier plugins",
      "asOf": "2026-11-18"
    },
    "F135": {
      "label": "Developer need",
      "display": "Formatting code strings inside a tool",
      "asOf": "2026-11-18"
    },
    "F136": {
      "label": "Why choose js-beautify",
      "display": "one function each for JavaScript, CSS, and HTML",
      "asOf": "2026-11-18"
    },
    "F137": {
      "label": "Developer need in introduction",
      "display": "custom indentation and spacing in a beautifier integration",
      "asOf": "2026-11-18"
    },
    "F138": {
      "label": "When to consider prettier",
      "display": "for formatting whole projects",
      "asOf": "2026-11-18"
    },
    "F139": {
      "label": "Developer need",
      "display": "An application that hosts WASM formatter plugins",
      "asOf": "2026-11-18"
    },
    "F140": {
      "label": "Why choose @dprint/formatter",
      "display": "Hosts WASM language plugins inside your application.",
      "asOf": "2026-11-18"
    },
    "F141": {
      "label": "Developer need in introduction",
      "display": "an application that hosts WASM formatter plugins",
      "asOf": "2026-11-18"
    },
    "F142": {
      "label": "When to consider prettier",
      "display": "when Prettier plugins are required",
      "asOf": "2026-11-18"
    },
    "F143": {
      "label": "Developer need",
      "display": "Formatting and linting together",
      "asOf": "2026-11-18"
    },
    "F144": {
      "label": "Why choose @biomejs/biome",
      "display": "formats and lints in one pass",
      "asOf": "2026-11-18"
    },
    "F145": {
      "label": "Developer need in introduction",
      "display": "formatting, linting, and import organization together",
      "asOf": "2026-11-18"
    },
    "F146": {
      "label": "When to consider prettier",
      "display": "for projects that depend on Prettier plugins",
      "asOf": "2026-11-18"
    },
    "F147": {
      "label": "Page introduction",
      "display": "JavaScript code formatter libraries let developers apply consistent formatting to source code.",
      "asOf": "2026-11-18"
    },
    "F148": {
      "label": "Page introduction",
      "display": "Start with Prettier for whole-project JavaScript formatting.",
      "asOf": "2026-11-18"
    },
    "F149": {
      "label": "Page introduction",
      "display": "Choose Biome when you also want linting and import organization.",
      "asOf": "2026-11-18"
    },
    "F150": {
      "label": "Page introduction",
      "display": "Keep Prettier when your project depends on its formatting plugins.",
      "asOf": "2026-11-18"
    },
    "F151": {
      "label": "FAQ: Which JavaScript formatter should I use?",
      "display": "Start with Prettier for whole-project formatting and additional language plugins.",
      "asOf": "2026-11-18"
    },
    "F152": {
      "label": "FAQ: Which JavaScript formatter should I use?",
      "display": "Choose the Biome CLI when combining formatting, linting, and import organization.",
      "asOf": "2026-11-18"
    },
    "F153": {
      "label": "FAQ: Which JavaScript formatter should I use?",
      "display": "Choose Oxfmt for built-in import and Tailwind sorting when Prettier plugins are unnecessary.",
      "asOf": "2026-11-18"
    },
    "F154": {
      "label": "FAQ: Do I still need ESLint if I use Prettier?",
      "display": "Yes, keep a linter for code-quality checks; Prettier handles formatting.",
      "asOf": "2026-11-18"
    },
    "F155": {
      "label": "FAQ: Do I still need ESLint if I use Prettier?",
      "display": "Disable formatting rules that conflict with Prettier rather than running two competing styles.",
      "asOf": "2026-11-18"
    },
    "F156": {
      "label": "FAQ: Can I switch an existing Prettier project to Oxfmt?",
      "display": "Check your plugin requirements before switching: Oxfmt does not support arbitrary Prettier plugins.",
      "asOf": "2026-11-18"
    },
    "F157": {
      "label": "FAQ: Can I switch an existing Prettier project to Oxfmt?",
      "display": "Its CLI conventions and defaults differ in some places, so review the migration instead of assuming identical output.",
      "asOf": "2026-11-18"
    },
    "F158": {
      "label": "FAQ: How do I enforce formatting in CI?",
      "display": "Run prettier . --check to check formatting in CI; use a formatting command separately to apply changes.",
      "asOf": "2026-11-18"
    },
    "F159": {
      "label": "Library name, prettier",
      "display": "Prettier",
      "asOf": "2026-11-18"
    },
    "F160": {
      "label": "Monthly downloads, prettier",
      "display": "714.1M",
      "asOf": "2026-11-18"
    },
    "F161": {
      "label": "License, prettier",
      "display": "MIT",
      "asOf": "2026-11-18"
    },
    "F162": {
      "label": "Package release, prettier",
      "display": "3.10.1",
      "asOf": "2026-11-18"
    },
    "F163": {
      "label": "Package release date, prettier",
      "display": "Nov 2026",
      "asOf": "2026-11-18"
    },
    "F164": {
      "label": "Install, prettier",
      "display": "npm install --save-dev --save-exact prettier@3.10.1",
      "asOf": "2026-11-18"
    },
    "F165": {
      "label": "Quickstart, prettier",
      "display": "import * as prettier from \"prettier\";\n\nawait prettier.format(\"foo ( );\", { semi: false, parser: \"babel\" });\n// -> 'foo()\\n'\n",
      "asOf": "2026-11-18"
    },
    "F166": {
      "label": "Repository stars, prettier",
      "display": "52.4K",
      "asOf": "2026-11-18"
    },
    "F167": {
      "label": "Formats TypeScript, prettier",
      "display": "Yes",
      "asOf": "2026-11-18"
    },
    "F168": {
      "label": "Formats HTML, prettier",
      "display": "Yes",
      "asOf": "2026-11-18"
    },
    "F169": {
      "label": "Formats CSS, prettier",
      "display": "Yes",
      "asOf": "2026-11-18"
    },
    "F170": {
      "label": "Project function, prettier",
      "display": "public async format(\n    source: string,\n    options?: Options | undefined,\n  ): Promise<string> {\n    if (!this.prettierModule) {\n      await this.import();\n    }\n    return this.prettierModule!.format(source, options);\n  }\n",
      "asOf": "2026-11-18"
    },
    "F171": {
      "label": "Project source file, prettier",
      "display": "src/PrettierDynamicInstance.ts",
      "asOf": "2026-11-18"
    },
    "F172": {
      "label": "Project full_name, prettier",
      "display": "prettier/prettier-vscode",
      "asOf": "2026-11-18"
    },
    "F173": {
      "label": "Project stargazers_count, prettier",
      "display": "5.5K",
      "asOf": "2026-11-18"
    },
    "F174": {
      "label": "Library name, oxfmt",
      "display": "Oxfmt",
      "asOf": "2026-11-18"
    },
    "F175": {
      "label": "Monthly downloads, oxfmt",
      "display": "109.3M",
      "asOf": "2026-11-18"
    },
    "F176": {
      "label": "License, oxfmt",
      "display": "MIT",
      "asOf": "2026-11-18"
    },
    "F177": {
      "label": "Package release, oxfmt",
      "display": "0.79.0",
      "asOf": "2026-11-18"
    },
    "F178": {
      "label": "Package release date, oxfmt",
      "display": "Nov 2026",
      "asOf": "2026-11-18"
    },
    "F179": {
      "label": "Install, oxfmt",
      "display": "npm add -D oxfmt",
      "asOf": "2026-11-18"
    },
    "F180": {
      "label": "Quickstart, oxfmt",
      "display": "import { format, type FormatOptions } from \"oxfmt\";\n\nconst input = `let a=42;`;\nconst options: FormatOptions = {\n  semi: false,\n};\n\nconst { code } = await format(\"a.js\", input, options);\nconsole.log(code); // \"let a = 42\"\n",
      "asOf": "2026-11-18"
    },
    "F181": {
      "label": "Repository stars, oxfmt",
      "display": "23.5K",
      "asOf": "2026-11-18"
    },
    "F182": {
      "label": "Formats TypeScript, oxfmt",
      "display": "Yes",
      "asOf": "2026-11-18"
    },
    "F183": {
      "label": "Formats HTML, oxfmt",
      "display": "Yes",
      "asOf": "2026-11-18"
    },
    "F184": {
      "label": "Formats CSS, oxfmt",
      "display": "Yes",
      "asOf": "2026-11-18"
    },
    "F185": {
      "label": "Project function, oxfmt",
      "display": "export async function formatWithOxfmt(\n\tfilename: string,\n\tsourceText: string,\n\toptions?: Partial<FormatConfig>,\n): Promise<string> {\n\tconst { code, errors } = await format(filename, sourceText, {\n\t\t...(await getFormatOptions(filename)),\n\t\t...options,\n\t});\n\tif (errors.length) {\n\t\tthrow new Error(\n\t\t\terrors\n\t\t\t\t.map((error) => error.codeframe ?? error.message)\n\t\t\t\t.join(\"\\n\\n\"),\n\t\t);\n\t}\n\treturn code;\n}\n",
      "asOf": "2026-11-18"
    },
    "F186": {
      "label": "Project source file, oxfmt",
      "display": "packages/maintenance/src/oxfmt.ts",
      "asOf": "2026-11-18"
    },
    "F187": {
      "label": "Project full_name, oxfmt",
      "display": "zwave-js/zwave-js",
      "asOf": "2026-11-18"
    },
    "F188": {
      "label": "Project stargazers_count, oxfmt",
      "display": "898",
      "asOf": "2026-11-18"
    },
    "F189": {
      "label": "Library name, @biomejs/biome",
      "display": "Biome",
      "asOf": "2026-11-18"
    },
    "F190": {
      "label": "Monthly downloads, @biomejs/biome",
      "display": "102.3M",
      "asOf": "2026-11-18"
    },
    "F191": {
      "label": "License, @biomejs/biome",
      "display": "MIT OR Apache-2.0",
      "asOf": "2026-11-18"
    },
    "F192": {
      "label": "Package release, @biomejs/biome",
      "display": "2.6.8",
      "asOf": "2026-11-18"
    },
    "F193": {
      "label": "Package release date, @biomejs/biome",
      "display": "Nov 2026",
      "asOf": "2026-11-18"
    },
    "F194": {
      "label": "Install, @biomejs/biome",
      "display": "npm install --save-dev --save-exact @biomejs/biome",
      "asOf": "2026-11-18"
    },
    "F195": {
      "label": "Quickstart, @biomejs/biome",
      "display": "# format files\nnpx @biomejs/biome format --write\n",
      "asOf": "2026-11-18"
    },
    "F196": {
      "label": "Repository stars, @biomejs/biome",
      "display": "26.1K",
      "asOf": "2026-11-18"
    },
    "F197": {
      "label": "Formats TypeScript, @biomejs/biome",
      "display": "Yes",
      "asOf": "2026-11-18"
    },
    "F198": {
      "label": "Formats HTML, @biomejs/biome",
      "display": "Yes",
      "asOf": "2026-11-18"
    },
    "F199": {
      "label": "Formats CSS, @biomejs/biome",
      "display": "Yes",
      "asOf": "2026-11-18"
    },
    "F200": {
      "label": "Project function, @biomejs/biome",
      "display": "const formatFileWithBiome = (filePath: string) => {\n  // Normalize to forward slashes for cross-platform Biome compatibility\n  const normalizedPath = filePath.replace(/\\\\/g, \"/\");\n  const { status } = spawnSync(\n    \"yarn\",\n    [\"biome\", \"format\", \"--write\", \"--no-errors-on-unmatched\", normalizedPath],\n    {\n      stdio: \"inherit\",\n      cwd: repoRoot,\n      shell: true,\n    }\n  );\n\n  if (status !== 0) {\n    throw new Error(`Biome formatting failed for ${filePath}`);\n  }\n};\n",
      "asOf": "2026-11-18"
    },
    "F201": {
      "label": "Project source file, @biomejs/biome",
      "display": "packages/app-store-cli/src/build.ts",
      "asOf": "2026-11-18"
    },
    "F202": {
      "label": "Project full_name, @biomejs/biome",
      "display": "calcom/cal.diy",
      "asOf": "2026-11-18"
    },
    "F203": {
      "label": "Project stargazers_count, @biomejs/biome",
      "display": "50.2K",
      "asOf": "2026-11-18"
    },
    "F204": {
      "label": "Library name, js-beautify",
      "display": "JS Beautifier",
      "asOf": "2026-11-18"
    },
    "F205": {
      "label": "Monthly downloads, js-beautify",
      "display": "64.0M",
      "asOf": "2026-11-18"
    },
    "F206": {
      "label": "License, js-beautify",
      "display": "MIT",
      "asOf": "2026-11-18"
    },
    "F207": {
      "label": "Package release, js-beautify",
      "display": "2.0.3",
      "asOf": "2026-11-18"
    },
    "F208": {
      "label": "Package release date, js-beautify",
      "display": "Jun 2026",
      "asOf": "2026-11-18"
    },
    "F209": {
      "label": "Install, js-beautify",
      "display": "npm -g install js-beautify",
      "asOf": "2026-11-18"
    },
    "F210": {
      "label": "Quickstart, js-beautify",
      "display": "js-beautify foo.js\n",
      "asOf": "2026-11-18"
    },
    "F211": {
      "label": "Repository stars, js-beautify",
      "display": "9.0K",
      "asOf": "2026-11-18"
    },
    "F212": {
      "label": "Formats TypeScript, js-beautify",
      "display": "Undocumented",
      "asOf": "2026-11-18"
    },
    "F213": {
      "label": "Formats HTML, js-beautify",
      "display": "Yes",
      "asOf": "2026-11-18"
    },
    "F214": {
      "label": "Formats CSS, js-beautify",
      "display": "Yes",
      "asOf": "2026-11-18"
    },
    "F215": {
      "label": "Project function, js-beautify",
      "display": "const beautifyDocRanges = (doc, ranges, type, formattingOptions, isPartial) => {\n  if (!doc) {\n    vscode.window.showInformationMessage(\n      'Beautify can\\'t get the file information because the editor won\\'t supply it. (File probably too large)');\n    throw '';\n  }\n  return Promise.resolve(type ? type : getBeautifyType())\n    .then(type => options(doc, type, formattingOptions)\n      .then(config => removeNewLineEndForPartial(config, isPartial))\n      .then(config => Promise.all(ranges.map(range =>\n        beautify[type](doc.getText(range), config)))));\n};\n",
      "asOf": "2026-11-18"
    },
    "F216": {
      "label": "Project source file, js-beautify",
      "display": "extension.js",
      "asOf": "2026-11-18"
    },
    "F217": {
      "label": "Project full_name, js-beautify",
      "display": "HookyQR/VSCodeBeautify",
      "asOf": "2026-11-18"
    },
    "F218": {
      "label": "Project stargazers_count, js-beautify",
      "display": "603",
      "asOf": "2026-11-18"
    },
    "F219": {
      "label": "Library name, dprint",
      "display": "dprint",
      "asOf": "2026-11-18"
    },
    "F220": {
      "label": "Monthly downloads, dprint",
      "display": "1.8M",
      "asOf": "2026-11-18"
    },
    "F221": {
      "label": "License, dprint",
      "display": "MIT",
      "asOf": "2026-11-18"
    },
    "F222": {
      "label": "Package release, dprint",
      "display": "0.65.0",
      "asOf": "2026-11-18"
    },
    "F223": {
      "label": "Package release date, dprint",
      "display": "Nov 2026",
      "asOf": "2026-11-18"
    },
    "F224": {
      "label": "Install, dprint",
      "display": "npm install -g dprint",
      "asOf": "2026-11-18"
    },
    "F225": {
      "label": "Quickstart, dprint",
      "display": "dprint init\n\ndprint fmt\n",
      "asOf": "2026-11-18"
    },
    "F226": {
      "label": "Official description, dprint",
      "display": "A formatting platform that runs language plugins from one config file.",
      "asOf": "2026-11-18"
    },
    "F227": {
      "label": "Quickstart source file, dprint",
      "display": "website/src/setup.md",
      "asOf": "2026-11-18"
    },
    "F228": {
      "label": "Repository stars, dprint",
      "display": "4.1K",
      "asOf": "2026-11-18"
    },
    "F229": {
      "label": "Formats TypeScript, dprint",
      "display": "Via plugin",
      "asOf": "2026-11-18"
    },
    "F230": {
      "label": "Formats HTML, dprint",
      "display": "Via plugin",
      "asOf": "2026-11-18"
    },
    "F231": {
      "label": "Formats CSS, dprint",
      "display": "Via plugin",
      "asOf": "2026-11-18"
    },
    "F232": {
      "label": "Project function, dprint",
      "display": "async function format(content: string) {\n  const dprint = $`dprint fmt --stdin tsx`.quiet();\n  dprint.stdin.write(content);\n  dprint.stdin.end();\n  const { stdout } = await dprint;\n  return stdout;\n}\n",
      "asOf": "2026-11-18"
    },
    "F233": {
      "label": "Project source file, dprint",
      "display": "frontend/uikit/scripts/update-icons.ts",
      "asOf": "2026-11-18"
    },
    "F234": {
      "label": "Project full_name, dprint",
      "display": "liquity/bold",
      "asOf": "2026-11-18"
    },
    "F235": {
      "label": "Project stargazers_count, dprint",
      "display": "140",
      "asOf": "2026-11-18"
    },
    "F236": {
      "label": "Pick reason, oxfmt as alternative",
      "display": "for the same style, faster",
      "asOf": "2026-11-18"
    },
    "F237": {
      "label": "Developer need, dprint",
      "display": "Many languages, one command",
      "asOf": "2026-11-18"
    },
    "F238": {
      "label": "Pick reason, dprint",
      "display": "runs Prettier, Biome, and other formatters as plugins",
      "asOf": "2026-11-18"
    },
    "F239": {
      "label": "strengths lead, dprint",
      "display": "Wraps other formatters",
      "asOf": "2026-11-18"
    },
    "F240": {
      "label": "strengths, dprint",
      "display": "Plugins run Prettier, Biome, or Oxc behind the same dprint command.",
      "asOf": "2026-11-18"
    },
    "F241": {
      "label": "limitations lead, dprint",
      "display": "Needs a config file first",
      "asOf": "2026-11-18"
    },
    "F242": {
      "label": "limitations, dprint",
      "display": "Run dprint init to create dprint.json and choose plugins before formatting.",
      "asOf": "2026-11-18"
    },
    "F243": {
      "label": "Pick alternative reason, dprint",
      "display": "for JavaScript-only projects",
      "asOf": "2026-11-18"
    }
  },
  "dataCheckedAt": "2026-11-18",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best JavaScript code formatter libraries Prettier JS Beautifier dprint Biome CLI code examples Oxfmt",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
