{"library":"astrojs-compiler-sync","type":"library","category":null,"description":"A synchronous wrapper around the @astrojs/compiler, enabling synchronous processing of Astro files. Current stable version is 1.1.1. Maintained actively with regular releases. Key differentiator: unlike the official compiler which is async-only, this package provides a sync API for use in environments where async is inconvenient, such as certain build tools or scripts. Requires @astrojs/compiler >=0.27.0 as a peer dependency and Node.js ^18.18.0 || >=20.9.0. Ships TypeScript definitions.","language":"javascript","status":"active","version":"1.1.1","tags":["javascript","astro","astrojs","parser","typescript"],"last_verified":"Fri May 01","install":[{"cmd":"npm install astrojs-compiler-sync","imports":["import { parse } from 'astrojs-compiler-sync'","import { transform } from 'astrojs-compiler-sync'","import { convertToTSX } from 'astrojs-compiler-sync'"]},{"cmd":"yarn add astrojs-compiler-sync","imports":[]},{"cmd":"pnpm add astrojs-compiler-sync","imports":[]}],"homepage":null,"github":"https://github.com/ota-meshi/astrojs-compiler-sync","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/astrojs-compiler-sync","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}