The npm package @prettier/sync had sporadic releases. August 2022 saw one release. There were no releases between September 2022 and June 2023. July 2023 had four releases, followed by a period of inactivity until January 2024. January, February, and April 2024 saw one to two releases each. March 2025 had three releases, and June 2025 had two. No releases occurred afterward based on the provided data.
@prettier/sync npm package downloads show a general upward trend from March 2024 to July 2025, peaking at 896,982. There were notable surges in October 2024 and January-February 2025. August 2025 saw a slight decrease, and September 2025 downloads are significantly lower, likely due to incomplete month data.
@prettier/sync offers a synchronous interface to the popular Prettier code formatter. Ideal for build processes or environments where asynchronous operations are undesirable, it allows you to format code directly within your script without relying on promises or callbacks. This package provides a convenient, albeit potentially slower, alternative for integrating Prettier into your synchronous workflows. Ensure your use case benefits from immediate execution, as synchronous calls can block the event loop.