{"_id":"@mcp-b/webmcp-polyfill@6.2.0","bugs":{"url":"https://github.com/WebMCP-org/npm-packages/issues"},"dist":{"shasum":"ddf3b954465d26574a2d5a3a4f327864b86feafe","tarball":"http://registry-npm.ywwl.com/@mcp-b/webmcp-polyfill/download/@mcp-b/webmcp-polyfill-6.2.0.tgz","fileCount":8,"integrity":"sha512-2RiEKz7ey89lbw+CCia1292RCi56lZIJiCIGvOQKGaOemU2Ljzs8ejYsqGFj+lLXXWo2lH4RN9beA/eBPG4BFA==","signatures":[{"sig":"MEUCIDdTGiu24zYAzinTCpbJPmusBId4CM6rxsPlwGl9lAXdAiEA6nji0q2qGhoFm6EbHpjK7Z2CFchxIEuBa00QnWVY9/E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDp/ZWv0Eg/gcLlDWY24PKTs1HK5QOgC988YClMtCiyegIgQ+9s1w7GAz+F+6I6rUoK2Sh1dE2VxZ5/hJII64f4eZk="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@mcp-b%2fwebmcp-polyfill@6.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":115888,"size":31715,"noattachment":false,"key":"/@mcp-b/webmcp-polyfill/-/@mcp-b/webmcp-polyfill-6.2.0.tgz"},"main":"./dist/index.js","name":"@mcp-b/webmcp-polyfill","type":"module","_from":"file:mcp-b-webmcp-polyfill-6.2.0.tgz","types":"./dist/index.d.ts","author":{"name":"Alex Nahas"},"module":"./dist/index.js","browser":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./iife":{"script":"./dist/index.iife.js","default":"./dist/index.iife.js"}},"license":"MIT","scripts":{"lint":"vp lint --fix","test":"vp test run","build":"vp pack","check":"vp check --fix","clean":"rm -rf dist","format":"vp fmt --write","typecheck":"tsc --noEmit","test:smoke":"vp test run src/index.test.ts --browser.headless","publish:dry":"pnpm publish --access public --dry-run","publish:npm":"pnpm publish --access public","test:coverage":"vp test run --coverage"},"version":"6.2.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"391b9d88-4a5e-467b-9c12-67878fad415e"}},"homepage":"https://docs.mcp-b.ai/packages/webmcp-polyfill/reference","keywords":["browser","model-context","polyfill","webmcp"],"_resolved":"/tmp/207cd49e063a163963bea91fb47e4b1a/mcp-b-webmcp-polyfill-6.2.0.tgz","_integrity":"sha512-2RiEKz7ey89lbw+CCia1292RCi56lZIJiCIGvOQKGaOemU2Ljzs8ejYsqGFj+lLXXWo2lH4RN9beA/eBPG4BFA==","repository":{"url":"git+https://github.com/WebMCP-org/npm-packages.git","type":"git","directory":"packages/webmcp-polyfill"},"_npmVersion":"11.19.1","description":"Deprecated: wraps @w3c/webmcp-polyfill and adds temporary declarative tools; use @w3c/webmcp-polyfill directly","directories":{},"maintainers":[{"name":"osigvelo","email":"omar@sigvelo.com"},{"name":"miguelspizza","email":"alexmnahas@gmail.com"}],"sideEffects":["./dist/index.iife.js"],"_nodeVersion":"24.22.2","dependencies":{"webmcp-types":"0.1.10","@w3c/webmcp-polyfill":"0.1.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"5.0.5","vite-plus":"1.3.0","playwright":"^1.64.1","typescript":"^5.8.3","@vitest/coverage-v8":"5.0.5","@vitest/browser-playwright":"5.0.5"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/webmcp-polyfill_6.2.0_1794285083716_0.7003498511341291"},"readme":"# @mcp-b/webmcp-polyfill\n\n**Deprecated.** Use [`@w3c/webmcp-polyfill`](https://www.npmjs.com/package/@w3c/webmcp-polyfill)\nfor `document.modelContext`.\n\n```bash\npnpm add @w3c/webmcp-polyfill\n```\n\n```ts\nimport { installWebMCP } from '@w3c/webmcp-polyfill';\n\ninstallWebMCP();\n```\n\nThis package is now a thin wrapper over `@w3c/webmcp-polyfill`. Its\n`installWebMCP()` installs the upstream polyfill and then adds declarative tools:\nforms with `toolname` and `tooldescription` become tools. Keep it only for\ndeclarative tools, until the upstream polyfill ships them. For transports,\nprompts, resources, or MCP `outputSchema` support, use\n[`@mcp-b/global`](../global/README.md), which includes this layer.\n\n## License\n\nMIT. The IIFE bundle (`dist/index.iife.js`) includes `@w3c/webmcp-polyfill`,\ndistributed under the Apache License 2.0 in `LICENSE.webmcp-polyfill`.\n","publish_time":1794285083814,"_cnpm_publish_time":1794285083814,"dist-tags":{"beta":"6.0.0-beta.20261001010549","canary":"0.1.0-canary.20260214192802","latest":"6.2.0"}}