{"library":"posthtml-fetch","type":"library","category":null,"description":"PostHTML plugin that fetches remote or local content and interpolates it into HTML using posthtml-expressions. Current stable version: 4.0.3. Release cadence is irregular; the plugin is mature and stable. Key differentiators: simple declarative <fetch> tag, supports JSON and text responses, integrates with PostHTML ecosystem, uses ofetch under the hood for HTTP, and allows configuration of tag names, URL attribute, and expression options. It is designed for server-side rendering and build-time content injection, not for dynamic client-side fetching.","language":"javascript","status":"active","version":"4.0.3","tags":["javascript","html","posthtml","posthtml-plugin","fetch","remote","response","api","get","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install posthtml-fetch","imports":["import posthtmlFetch from 'posthtml-fetch'","import type { PostHtmlFetch } from 'posthtml-fetch'","import posthtmlFetch from 'posthtml-fetch'","const posthtmlFetch = require('posthtml-fetch')"]},{"cmd":"yarn add posthtml-fetch","imports":[]},{"cmd":"pnpm add posthtml-fetch","imports":[]}],"homepage":"https://github.com/posthtml/posthtml-fetch","github":"https://github.com/posthtml/posthtml-fetch","docs":null,"changelog":null,"pypi":null,"npm":"posthtml-fetch","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}