{"library":"http-post-message","type":"library","category":null,"description":"The `http-post-message` package provides a generic messaging component to facilitate HTTP-style communication over the `window.postMessage` API. It abstracts the raw `postMessage` mechanics into familiar HTTP methods like `get`, `post`, `put`, `patch`, and `delete`, allowing developers to send structured requests and receive responses with HTTP semantics (e.g., status codes, headers). The current stable version is `0.3.0`. It does not implement the underlying `postMessage` transport itself but requires an external implementation of an `IPostMessage` interface, most commonly fulfilled by the `window-post-message-proxy` library, which Microsoft also maintains. Its key differentiator is bringing a robust, HTTP-like request/response pattern to cross-window and cross-iframe communication, simplifying complex messaging scenarios.","language":"javascript","status":"maintenance","version":"0.3.0","tags":["javascript","Microsoft","post","message","http","iframe","protocol","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install http-post-message","imports":["import { HttpPostMessage } from 'http-post-message';","import type { IPostMessage } from 'http-post-message';","import { HttpPostMessage } from 'http-post-message';\n// ... then use HttpPostMessage.addTrackingProperties"]},{"cmd":"yarn add http-post-message","imports":[]},{"cmd":"pnpm add http-post-message","imports":[]}],"homepage":null,"github":"https://github.com/Microsoft/http-post-message","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/http-post-message","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/http-post-message/compatibility"}}