@babel/plugin-syntax-import-assertions enables Babel to parse and understand import assertions syntax. It's crucial for projects using this modern JavaScript feature for specifying the expected type of imported modules, like JSON or CSS, ensuring proper handling and integration. This plugin allows Babel to process import statements with assert or with keywords, enabling seamless compatibility with environments supporting import assertions. It only enables syntax parsing, requiring other plugins for transformation and polyfilling.
The @babel/plugin-syntax-import-assertions package saw irregular releases between October 2020 and July 2025. There were periods of frequent releases like October 2024 (3 versions), followed by extended periods of inactivity. Releases ranged from zero to three versions per month, with the latest version, 7.27.1, being published in April 2025. There have been no releases in the last three months, from May 2025 to July 2025.
Downloads of @babel/plugin-syntax-import-assertions saw significant growth from February 2024 to July 2025, peaking at over 111 million. August 2025 downloads are considerably lower, around 52 million, likely due to incomplete data for the month as today is August 17, 2025.