{"id":115098,"date":"2026-10-11T06:33:04","date_gmt":"2026-10-10T22:33:04","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/115098.html"},"modified":"2026-10-11T06:33:04","modified_gmt":"2026-10-10T22:33:04","slug":"%e7%ba%af%e5%ae%a2%e6%88%b7%e7%ab%af%e6%95%b0%e6%8d%ae%e5%ae%89%e5%85%a8%e5%a4%87%e4%bb%bd%ef%bc%9aweb-streams-api-%e5%ae%9e%e7%8e%b0%e8%b6%85%e5%a4%a7-indexeddb-%e6%95%b0%e6%8d%ae%e6%97%a0%e6%84%9f","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/115098.html","title":{"rendered":"\u7eaf\u5ba2\u6237\u7aef\u6570\u636e\u5b89\u5168\u5907\u4efd\uff1aWeb Streams API \u5b9e\u73b0\u8d85\u5927 IndexedDB \u6570\u636e\u65e0\u611f\u6d41\u5f0f\u5bfc\u51fa"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261010223258-6acabd1a86188.png\" alt=\"\u5c01\u9762\u4fe1\u606f\u56fe\" \/><\/p>\n<p>\u5728\u8df5\u884c\u300c\u672c\u5730\u4f18\u5148&#xff08;Local-First&#xff09;\u300d\u4e0e\u300c\u6570\u636e\u4e3b\u6743\u5b8c\u5168\u5c5e\u4e8e\u7528\u6237\u300d\u7684\u624b\u8d26\u5de5\u5177\u5f00\u53d1\u4e2d&#xff0c;\u6700\u6838\u5fc3\u7684\u4e00\u9053\u5b89\u5168\u751f\u547d\u7ebf\u5c31\u662f&#xff1a;\u6570\u636e\u5bfc\u51fa\u4e0e\u79bb\u7ebf\u5f52\u6863\u5907\u4efd\u3002<\/p>\n<p>\u7528\u6237\u5728\u4f60\u7684\u79bb\u7ebf\u624b\u8d26\u91cc\u5199\u4e86\u534a\u5e74\u65e5\u8bb0\u3001\u5b58\u4e86\u51e0\u767e\u5f20\u624b\u7ed8\u6c34\u5f69\u63d2\u753b\u4e0e\u5404\u79cd\u5bfc\u51fa\u957f\u56fe&#xff0c;\u6570\u636e\u5168\u90e8\u4fdd\u5b58\u5728\u6d4f\u89c8\u5668\u5e95\u5c42\u7684 IndexedDB \u4e2d\u3002\u8fd9\u65f6\u5019\u7528\u6237\u4f1a\u4ea7\u751f\u4e00\u79cd\u6781\u5176\u5f3a\u70c8\u7684\u672c\u80fd\u8bc9\u6c42&#xff1a;\u300c\u6211\u80fd\u4e0d\u80fd\u628a\u6211\u7684\u6240\u6709\u6570\u636e\u5b8c\u6574\u4e0b\u8f7d\u6210\u4e00\u4e2a\u672c\u5730 .json \u5907\u4efd\u6587\u4ef6&#xff0c;\u5b58\u5230\u6211\u7684 U \u76d8\u6216\u8005\u673a\u68b0\u786c\u76d8\u91cc&#xff1f;\u300d<\/p>\n<p>\u5728\u8fc7\u53bb&#xff0c;\u5f88\u591a\u524d\u7aef\u5f00\u53d1\u8005\u7684\u5bfc\u51fa\u4ee3\u7801\u90fd\u5199\u5f97\u5f88\u539f\u59cb&#xff1a;<\/p>\n<p>\/\/ \u6781\u5176\u5371\u9669\u7684\u5185\u5b58\u81ea\u6740\u5f0f\u5bfc\u51fa\u5199\u6cd5<br \/>\nconst allData &#061; await localDB.getAllNotes();<br \/>\nconst jsonString &#061; JSON.stringify(allData); \/\/ \u5185\u5b58\u77ac\u95f4\u66b4\u6da8&#xff01;<br \/>\nconst blob &#061; new Blob([jsonString], { type: &#039;application\/json&#039; });<br \/>\nconst url &#061; URL.createObjectURL(blob);<br \/>\n\/\/ \u6a21\u62df &lt;a&gt; \u6807\u7b7e\u4e0b\u8f7d&#8230;<\/p>\n<p>\u5f53\u6570\u636e\u53ea\u6709\u51e0\u5341\u6761\u65f6&#xff0c;\u8fd9\u6bb5\u4ee3\u7801\u8fd0\u8f6c\u826f\u597d\u3002\u4f46\u5f53\u7528\u6237\u7684\u6570\u636e\u5e93\u81a8\u80c0\u5230\u51e0\u767e\u5146&#xff08;\u5305\u542b\u9ad8\u5206\u8fa8\u7387\u753b\u4f5c Base64 \u6216\u4e8c\u8fdb\u5236\u50cf\u7d20&#xff09;\u65f6&#xff1a;<\/p>\n<ul>\n<li>JSON.stringify \u4f1a\u5728 V8 \u5f15\u64ce\u4e2d\u5c1d\u8bd5\u5206\u914d\u4e00\u6bb5\u6570\u4ebf\u5b57\u7b26\u7684\u8d85\u957f\u8fde\u7eed\u5b57\u7b26\u4e32&#xff0c;\u76f4\u63a5\u629b\u51fa RangeError: Invalid string length \u5185\u5b58\u6ea2\u51fa&#xff08;OOM&#xff09;&#xff1b;<\/li>\n<li>\u624b\u673a\u7aef\u6d4f\u89c8\u5668\u77ac\u95f4\u5361\u6b7b\u95ea\u9000&#xff0c;\u7528\u6237\u4ee5\u4e3a\u6240\u6709\u65e5\u8bb0\u90fd\u88ab\u8f6f\u4ef6\u541e\u4e86&#xff0c;\u9020\u6210\u4e25\u91cd\u7684\u6050\u614c\u4e0e\u4fe1\u4efb\u5371\u673a\u3002<\/li>\n<\/ul>\n<p>\u8981\u5b9e\u73b0\u771f\u6b63\u5de5\u4e1a\u7ea7\u7684\u5927\u6570\u636e\u65e0\u611f\u5bfc\u51fa&#xff0c;\u5fc5\u987b\u91c7\u7528\u6d41\u5f0f\u7ba1\u9053\u601d\u60f3&#xff08;Streams Pipeline&#xff09;&#xff1a;\u5229\u7528\u73b0\u4ee3 Web \u6807\u51c6\u7684 Web Streams API&#xff08;ReadableStream &#043; TextEncoderStream&#xff09;&#xff0c;\u914d\u5408\u6e38\u6807&#xff08;Cursor&#xff09;\u505a\u5230\u8fb9\u4ece\u6570\u636e\u5e93\u8bfb\u53d6\u3001\u8fb9\u5e8f\u5217\u5316\u5207\u7247\u3001\u8fb9\u6d41\u5f0f\u51b2\u5237\u8fdb\u4e0b\u8f7d\u7ba1\u9053&#xff0c;\u8ba9\u6574\u573a\u6570\u767e\u5146\u7684\u5bfc\u51fa\u8fc7\u7a0b&#xff0c;\u5185\u5b58\u5360\u7528\u6052\u5b9a\u538b\u5236\u5728 5MB \u4ee5\u5185&#xff01;<\/p>\n<p>\u4eca\u5929\u8fd9\u7bc7\u6587\u7ae0&#xff0c;\u6211\u5c06\u5e26\u5927\u5bb6\u5b8c\u6574\u624b\u5199\u8fd9\u5957\u57fa\u4e8e Web Streams \u7684\u7eaf\u524d\u7aef\u6d41\u5f0f\u5907\u4efd\u7cfb\u7edf\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u3001\u4f20\u7edf Blob \u5bfc\u51fa\u4e0e Web Streams \u6d41\u5f0f\u7ba1\u9053\u7684\u5185\u5b58\u6a21\u578b\u5bf9\u6bd4<\/h3>\n<p>\u4e3a\u4ec0\u4e48\u6d41\u5f0f\u5bfc\u51fa\u80fd\u5f7b\u5e95\u6d88\u706d\u5185\u5b58\u6ea2\u51fa&#xff1f;\u6211\u4eec\u6765\u770b\u4e24\u79cd\u6a21\u5f0f\u5728\u7cfb\u7edf\u5806\u5185\u5b58\u4e2d\u7684\u6d41\u5411\u5bf9\u6bd4&#xff1a;<\/p>\n<li>\u4f20\u7edf\u5168\u91cf\u7f13\u51b2&#xff08;Buffer-and-Dump&#xff09;&#xff1a;\u6570\u636e\u5e93\u8bfb\u53d6\u3001JSON \u5e8f\u5217\u5316\u3001Blob \u6253\u5305\u662f\u4e32\u884c\u5168\u91cf\u8fdb\u884c\u7684\u3002\u6574\u4e2a\u6570\u636e\u96c6\u5728\u5185\u5b58\u4e2d\u88ab\u540c\u65f6\u514b\u9686\u4e86\u6574\u6574 3 \u4efd&#xff08;\u6570\u636e\u5e93\u5bf9\u8c61\u6811 &#043; \u5de8\u5927 JSON \u5b57\u7b26\u4e32 &#043; \u6d4f\u89c8\u5668 Blob \u7f13\u51b2\u533a&#xff09;\u3002\u6570\u636e\u91cf\u8fbe\u5230 100MB \u65f6&#xff0c;\u77ac\u65f6\u5185\u5b58\u6d88\u8017\u76f4\u903c 400MB&#xff0c;\u6781\u6613\u89e6\u78b0\u79fb\u52a8\u7aef\u6c99\u7bb1\u7ea2\u7ebf\u3002<\/li>\n<li>Web Streams \u80cc\u538b\u6d41\u5f0f\u7ba1\u9053&#xff08;Backpressure Streaming&#xff09;&#xff1a;\u6574\u4e2a\u8fc7\u7a0b\u50cf\u4e00\u6761\u4f20\u9001\u5e26\u3002\u6e90\u5934&#xff08;Underlying Source&#xff09;\u6bcf\u6b21\u53ea\u4ece IndexedDB \u6e38\u6807\u62c9\u51fa\u4e00\u6761\u624b\u8d26&#xff0c;\u7ecf\u8fc7\u7f16\u7801\u7ba1\u9053\u8f6c\u5316\u4e3a\u4e8c\u8fdb\u5236 Uint8Array \u5206\u5757&#xff08;Chunk&#xff09;&#xff0c;\u76f4\u63a5\u63a8\u9001\u7ed9\u6d4f\u89c8\u5668\u7684\u4e0b\u8f7d\u6d88\u8d39\u7aef\u3002\u4e0b\u6e38\u6d88\u8d39\u591a\u5feb&#xff0c;\u4e0a\u6e38\u5c31\u6d41\u51fa\u591a\u5feb&#xff0c;\u901a\u8fc7\u80cc\u538b&#xff08;Backpressure&#xff09;\u673a\u5236\u81ea\u7136\u534f\u8c03&#xff0c;\u5185\u5b58\u4e2d\u6c38\u8fdc\u53ea\u9a7b\u7559\u5f53\u524d\u6b63\u5728\u4f20\u8f93\u7684\u51e0\u4e2a\u5c0f\u6570\u636e\u5757\u3002<\/li>\n<p>&#043;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&#043;<br \/>\n|                Web Streams \u6d41\u5f0f\u5907\u4efd\u7ba1\u9053\u67b6\u6784                 |<br \/>\n&#043;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&#043;<br \/>\n|  [ IndexedDB \u6e38\u6807\u5e95\u5c42\u6e90 ]                                   |<br \/>\n|    &#8211; \u9010\u6761\u8bfb\u51fa\u5355\u7bc7\u624b\u8d26 (\u907f\u514d\u6279\u91cf\u81a8\u80c0)                        |<br \/>\n|                             |                               |<br \/>\n|                             v controller.enqueue(jsonChunk) |<br \/>\n|  [ ReadableStream \u5b57\u7b26\u6d41 ]                                  |<br \/>\n|    &#8211; \u8f93\u51fa JSON \u6570\u7ec4\u5f00\u5408: &#034;[&#034; -&gt; \u8bb0\u5f551 -&gt; &#034;,&#034; -&gt; \u8bb0\u5f552 -&gt; &#034;]&#034;|<br \/>\n|                             |                               |<br \/>\n|                             v .pipeThrough()                |<br \/>\n|  [ TextEncoderStream \u539f\u751f\u6d41\u5f0f\u8f6c\u7801\u5668 ]                       |<br \/>\n|    &#8211; \u6beb\u79d2\u7ea7\u8f6c\u6362\u4e3a UTF-8 \u4e8c\u8fdb\u5236 Uint8Array \u5757                |<br \/>\n|                             |                               |<br \/>\n|                             v .pipeTo()                     |<br \/>\n|  [ \u672c\u5730\u6587\u4ef6\u7cfb\u7edf \/ File System Access API \/ \u6d41\u5f0f\u4e0b\u8f7d\u7ba1\u9053 ]    |<br \/>\n|    &#8211; \u76f4\u63a5\u5199\u5165\u672c\u5730\u78c1\u76d8 handbook-backup-2026.json!            |<br \/>\n|  * \u5168\u7a0b\u5185\u5b58\u5f00\u9500\u6052\u5b9a\u5728 3MB ~ 5MB&#xff0c;\u5bfc\u51fa 1GB \u6570\u636e\u4e5f\u5982\u4e1d\u822c\u987a\u6ed1! |<br \/>\n&#043;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&#043;<\/p>\n<hr \/>\n<h3>\u4e8c\u3001\u4ee3\u7801\u5b9e\u6218&#xff1a;\u7eaf\u524d\u7aef\u6d41\u5f0f JSON \u5907\u4efd\u5bfc\u51fa\u5668<\/h3>\n<p>\u6211\u4eec\u6765\u52a8\u624b\u5b9e\u73b0\u8fd9\u4e2a\u96f6\u4f9d\u8d56\u7684\u539f\u751f\u6d41\u5f0f\u5907\u4efd\u5f15\u64ce&#xff1a;<\/p>\n<p>\/\/ stream-backup-exporter.js&#xff1a;\u57fa\u4e8e Web Streams \u7684\u5927\u5bb9\u91cf\u6d41\u5f0f\u5bfc\u51fa\u5f15\u64ce<br \/>\nexport class StreamHandbookExporter {<br \/>\n  constructor(dbInstance) {<br \/>\n    this.db &#061; dbInstance;<br \/>\n  }<\/p>\n<p>  \/\/ \u6784\u5efa\u53ea\u8bfb\u624b\u8d26\u6d41<br \/>\n  createReadableStream() {<br \/>\n    const db &#061; this.db;<\/p>\n<p>    return new ReadableStream({<br \/>\n      async start(controller) {<br \/>\n        \/\/ 1. \u53d1\u9001 JSON \u6570\u7ec4\u7684\u5f00\u7aef\u7b26\u53f7 &#034;[&#034;<br \/>\n        controller.enqueue(&#039;[\\\\n&#039;);<\/p>\n<p>        const transaction &#061; db.transaction([&#039;notes&#039;], &#039;readonly&#039;);<br \/>\n        const store &#061; transaction.objectStore(&#039;notes&#039;);<br \/>\n        const request &#061; store.openCursor();<\/p>\n<p>        let isFirst &#061; true;<\/p>\n<p>        request.onsuccess &#061; (event) &#061;&gt; {<br \/>\n          const cursor &#061; event.target.result;<br \/>\n          if (cursor) {<br \/>\n            \/\/ \u5982\u679c\u4e0d\u662f\u7b2c\u4e00\u6761&#xff0c;\u8ffd\u52a0\u9017\u53f7\u5206\u9694\u7b26<br \/>\n            const prefix &#061; isFirst ? &#039;  &#039; : &#039;,\\\\n  &#039;;<br \/>\n            isFirst &#061; false;<\/p>\n<p>            \/\/ \u4ec5\u5bf9\u5f53\u524d\u5355\u6761\u624b\u8d26\u8bb0\u5f55\u8fdb\u884c\u5e8f\u5217\u5316&#xff0c;\u5185\u5b58\u5f00\u9500\u5fae\u4e4e\u5176\u5fae&#xff01;<br \/>\n            const jsonChunk &#061; prefix &#043; JSON.stringify(cursor.value);<br \/>\n            controller.enqueue(jsonChunk);<\/p>\n<p>            \/\/ \u524d\u8fdb\u5230\u4e0b\u4e00\u6761\u8bb0\u5f55<br \/>\n            cursor.continue();<br \/>\n          } else {<br \/>\n            \/\/ 2. \u904d\u5386\u7ed3\u675f&#xff0c;\u5c01\u53e3 JSON \u6570\u7ec4 &#034;]&#034;<br \/>\n            controller.enqueue(&#039;\\\\n]&#039;);<br \/>\n            controller.close();<br \/>\n          }<br \/>\n        };<\/p>\n<p>        request.onerror &#061; (event) &#061;&gt; {<br \/>\n          controller.error(new Error(&#096;\u6570\u636e\u5e93\u6e38\u6807\u5f02\u5e38: ${event.target.error}&#096;));<br \/>\n        };<br \/>\n      }<br \/>\n    });<br \/>\n  }<\/p>\n<p>  \/\/ \u89e6\u53d1\u6d41\u5f0f\u4e0b\u8f7d&#xff08;\u7ed3\u5408\u73b0\u4ee3 File System Access API \u6216\u517c\u5bb9\u6027\u56de\u9000&#xff09;<br \/>\n  async exportToFile(suggestedFileName &#061; &#039;cozy-handbook-backup.json&#039;) {<br \/>\n    const textStream &#061; this.createReadableStream();<\/p>\n<p>    \/\/ \u5c06\u5b57\u7b26\u4e32\u6d41\u901a\u8fc7\u539f\u751f\u7ba1\u9053\u8f6c\u5316\u4e3a\u4e8c\u8fdb\u5236\u6d41<br \/>\n    const binaryStream &#061; textStream.pipeThrough(new TextEncoderStream());<\/p>\n<p>    \/\/ \u65b9\u6848 A&#xff1a;\u73b0\u4ee3\u684c\u9762\u7aef File System Access API&#xff08;Chrome \/ Edge \u7b49&#xff0c;\u771f\u6d41\u5f0f\u76f4\u5199\u78c1\u76d8&#xff09;<br \/>\n    if (&#039;showSaveFilePicker&#039; in window) {<br \/>\n      try {<br \/>\n        const handle &#061; await window.showSaveFilePicker({<br \/>\n          suggestedName: suggestedFileName,<br \/>\n          types: [<br \/>\n            {<br \/>\n              description: &#039;JSON \u624b\u8d26\u5168\u91cf\u5907\u4efd\u6587\u4ef6&#039;,<br \/>\n              accept: { &#039;application\/json&#039;: [&#039;.json&#039;] }<br \/>\n            }<br \/>\n          ]<br \/>\n        });<\/p>\n<p>        const writable &#061; await handle.createWritable();<br \/>\n        \/\/ \u76f4\u63a5\u5c06\u53ef\u8bfb\u6d41\u5bfc\u5165\u78c1\u76d8\u5199\u5165\u6d41&#xff01;<br \/>\n        await binaryStream.pipeTo(writable);<br \/>\n        console.log(&#039;[\u6d41\u5f0f\u5907\u4efd] \u5df2\u901a\u8fc7\u6587\u4ef6\u7cfb\u7edf\u539f\u751f\u6d41\u5f0f\u76f4\u5199\u5b8c\u6210&#xff01;&#039;);<br \/>\n        return;<br \/>\n      } catch (err) {<br \/>\n        if (err.name &#061;&#061;&#061; &#039;AbortError&#039;) {<br \/>\n          console.log(&#039;[\u6d41\u5f0f\u5907\u4efd] \u7528\u6237\u53d6\u6d88\u4e86\u4fdd\u5b58&#039;);<br \/>\n          return;<br \/>\n        }<br \/>\n        console.warn(&#039;[\u6d41\u5f0f\u5907\u4efd] FileSystemAPI \u5931\u8d25&#xff0c;\u56de\u9000\u81f3\u517c\u5bb9\u4e0b\u8f7d:&#039;, err);<br \/>\n      }<br \/>\n    }<\/p>\n<p>    \/\/ \u65b9\u6848 B&#xff1a;\u901a\u7528\u6d4f\u89c8\u5668\u56de\u9000&#xff08;\u5229\u7528 Response \u5c06\u6d41\u5305\u88c5\u4e3a\u4e0b\u8f7d&#xff09;<br \/>\n    const response &#061; new Response(binaryStream);<br \/>\n    const blob &#061; await response.blob();<br \/>\n    const downloadUrl &#061; URL.createObjectURL(blob);<\/p>\n<p>    const a &#061; document.createElement(&#039;a&#039;);<br \/>\n    a.href &#061; downloadUrl;<br \/>\n    a.download &#061; suggestedFileName;<br \/>\n    document.body.appendChild(a);<br \/>\n    a.click();<br \/>\n    a.remove();<br \/>\n    URL.revokeObjectURL(downloadUrl);<br \/>\n    console.log(&#039;[\u6d41\u5f0f\u5907\u4efd] \u517c\u5bb9\u6027\u5bfc\u51fa\u5b8c\u6210&#xff01;&#039;);<br \/>\n  }<br \/>\n}<\/p>\n<hr \/>\n<h3>\u4e09\u3001\u4e0e UI \u8fdb\u5ea6\u7684\u4f18\u96c5\u88c5\u914d<\/h3>\n<p>\u5728\u624b\u8d26\u8bbe\u7f6e\u9762\u677f\u4e2d&#xff0c;\u7ed9\u7528\u6237\u63d0\u4f9b\u4e00\u4e2a\u6781\u5177\u5b89\u5168\u611f\u7684\u5bfc\u51fa\u6309\u94ae\u4e0e\u72b6\u6001\u53cd\u9988&#xff1a;<\/p>\n<p>&lt;!&#8211; backup-panel.html &#8211;&gt;<br \/>\n&lt;div class&#061;&#034;backup-card&#034;&gt;<br \/>\n  &lt;h4&gt;&#x1f342; \u672c\u5730\u624b\u8d26\u5b89\u5168\u5f52\u6863&lt;\/h4&gt;<br \/>\n  &lt;p&gt;\u5c06\u4fdd\u5b58\u5728\u60a8\u8bbe\u5907\u4e2d\u7684\u6240\u6709\u65e5\u8bb0\u3001\u63d2\u753b\u4e0e\u6807\u7b7e\u5b8c\u6574\u6d41\u5f0f\u5bfc\u51fa\u4e3a JSON \u5907\u4efd\u6587\u4ef6\u3002&lt;\/p&gt;<br \/>\n  &lt;button id&#061;&#034;exportStreamBtn&#034; class&#061;&#034;cozy-btn&#034;&gt;\u5f00\u59cb\u65e0\u635f\u6d41\u5f0f\u5bfc\u51fa&lt;\/button&gt;<br \/>\n  &lt;div id&#061;&#034;exportStatus&#034; class&#061;&#034;status-msg&#034;&gt;&lt;\/div&gt;<br \/>\n&lt;\/div&gt;<\/p>\n<p>\/\/ backup-main.js&#xff1a;\u88c5\u914d\u5bfc\u51fa\u5668<br \/>\nimport { localDB } from &#039;.\/local-handbook-db.js&#039;;<br \/>\nimport { StreamHandbookExporter } from &#039;.\/stream-backup-exporter.js&#039;;<\/p>\n<p>const exportBtn &#061; document.querySelector(&#039;#exportStreamBtn&#039;);<br \/>\nconst statusMsg &#061; document.querySelector(&#039;#exportStatus&#039;);<\/p>\n<p>exportBtn.addEventListener(&#039;click&#039;, async () &#061;&gt; {<br \/>\n  exportBtn.disabled &#061; true;<br \/>\n  statusMsg.textContent &#061; &#039;\u6b63\u5728\u5efa\u7acb\u6d41\u5f0f\u4f20\u8f93\u7ba1\u9053&#xff0c;\u5bfc\u51fa\u671f\u95f4\u53ef\u81ea\u7531\u5207\u6362\u7a97\u53e3&#8230;&#039;;<\/p>\n<p>  try {<br \/>\n    const exporter &#061; new StreamHandbookExporter(localDB.db);<br \/>\n    const fileName &#061; &#096;\u542c\u6c50\u624b\u8d26\u5168\u91cf\u5907\u4efd_${new Date().toISOString().slice(0, 10)}.json&#096;;<\/p>\n<p>    await exporter.exportToFile(fileName);<br \/>\n    statusMsg.textContent &#061; &#039;\u5907\u4efd\u5df2\u6210\u529f\u4fdd\u5b58\u5728\u60a8\u7684\u672c\u5730\u78c1\u76d8\u4e2d \u2728&#039;;<br \/>\n  } catch (err) {<br \/>\n    statusMsg.textContent &#061; &#096;\u5bfc\u51fa\u5f02\u5e38: ${err.message}&#096;;<br \/>\n  } finally {<br \/>\n    exportBtn.disabled &#061; false;<br \/>\n  }<br \/>\n});<\/p>\n<hr \/>\n<h3>\u56db\u3001\u751f\u4ea7\u907f\u5751\u4e0e\u5b89\u5168\u9632\u7ebf<\/h3>\n<li>\u9632\u8303\u975e\u6cd5 JSON \u5b57\u7b26\u6ce8\u5165&#xff1a;\u5355\u6761\u8bb0\u5f55\u5728\u5e8f\u5217\u5316\u65f6&#xff0c;\u5207\u8bb0\u4f7f\u7528\u6807\u51c6\u7684 JSON.stringify(cursor.value)&#xff0c;\u4e0d\u8981\u7528\u6a21\u677f\u5b57\u7b26\u4e32\u624b\u52a8\u62fc\u63a5\u3002JSON.stringify \u4f1a\u81ea\u52a8\u5904\u7406\u6362\u884c\u7b26\u3001\u53cc\u5f15\u53f7\u8f6c\u4e49\u548c\u7279\u6b8a\u63a7\u5236\u5b57\u7b26&#xff0c;\u786e\u4fdd\u5bfc\u51fa\u7684\u6570\u4e07\u884c JSON \u6587\u4ef6\u8bed\u6cd5\u767e\u5206\u4e4b\u767e\u5408\u6cd5\u4e25\u8c28\u3002<\/li>\n<li>\u79fb\u52a8\u7aef\u540e\u53f0\u4e2d\u65ad\u9632\u62a4&#xff1a;\u5728 iOS Safari \u4e0a&#xff0c;\u5982\u679c\u5bfc\u51fa\u6587\u4ef6\u6781\u5927&#xff0c;\u7528\u6237\u5207\u51fa\u6d4f\u89c8\u5668\u53ef\u80fd\u4f1a\u5bfc\u81f4\u6d41\u5f0f\u8fde\u63a5\u88ab\u7cfb\u7edf\u6682\u505c\u3002\u5728\u89e6\u53d1\u5bfc\u51fa\u524d&#xff0c;\u53ef\u4ee5\u901a\u8fc7\u8c03\u7528\u539f\u751f\u7684 navigator.wakeLock.request(&#039;screen&#039;) \u7533\u8bf7\u5c4f\u5e55\u5e38\u4eae\u5524\u9192\u9501&#xff0c;\u9632\u6b62\u624b\u673a\u5728\u5199\u5165\u5927\u6587\u4ef6\u65f6\u81ea\u52a8\u4f11\u7720\u65ad\u5f00\u3002<\/li>\n<hr \/>\n<h3>\u4e94\u3001\u5199\u5728\u6700\u540e<\/h3>\n<p>\u771f\u6b63\u7684\u81ea\u7531&#xff0c;\u662f\u62e5\u6709\u968f\u65f6\u5e26\u8d70\u81ea\u5df1\u6240\u6709\u6570\u5b57\u8d44\u4ea7\u7684\u6743\u5229\u3002<\/p>\n<p>\u901a\u8fc7 Web Streams API \u7684\u7cbe\u5bc6\u7ba1\u9053&#xff0c;\u6211\u4eec\u8ba9\u4f53\u79ef\u5e9e\u5927\u7684\u624b\u8d26\u8bb0\u5fc6\u80fd\u591f\u50cf\u5c71\u6cc9\u4e00\u6837\u5e73\u7a33\u3001\u6e05\u900f\u3001\u5b89\u5168\u5730\u6d41\u6dcc\u56de\u4f7f\u7528\u8005\u7684\u672c\u5730\u786c\u76d8\u91cc\u3002<\/p>\n<p>\u4e0d\u5c06\u7528\u6237\u7684\u6570\u636e\u4f5c\u4e3a\u4eba\u8d28\u6263\u7559\u5728\u5c01\u95ed\u7684\u4e91\u7aef&#xff0c;\u628a\u638c\u63a7\u6743\u5b8c\u5b8c\u6574\u6574\u5730\u4ea4\u8fd8\u7ed9\u6bcf\u4e00\u4e2a\u4eba&#xff0c;\u8fd9\u5c31\u662f\u72ec\u7acb\u8f6f\u4ef6\u5f00\u53d1\u4e2d\u6700\u53ef\u8d35\u7684\u5de5\u7a0b\u4f26\u7406\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u8df5\u884c\u300c\u672c\u5730\u4f18\u5148&#xff08;Local-First&#xff09;\u300d\u4e0e\u300c\u6570\u636e\u4e3b\u6743\u5b8c\u5168\u5c5e\u4e8e\u7528\u6237\u300d\u7684\u624b\u8d26\u5de5\u5177\u5f00\u53d1\u4e2d&#xff0c;\u6700\u6838\u5fc3\u7684\u4e00\u9053\u5b89\u5168\u751f\u547d\u7ebf\u5c31\u662f&#xff1a;\u6570\u636e\u5bfc\u51fa\u4e0e\u79bb\u7ebf\u5f52\u6863\u5907\u4efd\u3002<br \/>\n\u7528\u6237\u5728\u4f60\u7684\u79bb\u7ebf\u624b\u8d26\u91cc\u5199\u4e86\u534a\u5e74\u65e5\u8bb0\u3001\u5b58\u4e86\u51e0\u767e\u5f20\u624b\u7ed8\u6c34\u5f69\u63d2\u753b\u4e0e\u5404\u79cd\u5bfc\u51fa\u957f\u56fe&#xff0c;\u6570\u636e\u5168\u90e8\u4fdd\u5b58\u5728\u6d4f\u89c8\u5668\u5e95\u5c42\u7684 IndexedDB \u4e2d\u3002\u8fd9\u65f6\u5019\u7528\u6237\u4f1a\u4ea7\u751f\u4e00\u79cd\u6781\u5176\u5f3a\u70c8\u7684\u672c\u80fd\u8bc9\u6c42&#xff1a;\u300c\u6211\u80fd\u4e0d\u80fd\u628a\u6211\u7684\u6240\u6709\u6570\u636e\u5b8c\u6574\u4e0b\u8f7d\u6210\u4e00\u4e2a\u672c\u5730 .json \u5907\u4efd\u6587\u4ef6&#xff0c;\u5b58\u5230\u6211\u7684 <\/p>\n","protected":false},"author":2,"featured_media":115097,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[66,723,50,87,51],"topic":[],"class_list":["post-115098","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-ai","tag-react","tag-50","tag-87","tag-51"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u7eaf\u5ba2\u6237\u7aef\u6570\u636e\u5b89\u5168\u5907\u4efd\uff1aWeb Streams API \u5b9e\u73b0\u8d85\u5927 IndexedDB \u6570\u636e\u65e0\u611f\u6d41\u5f0f\u5bfc\u51fa - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/115098.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u7eaf\u5ba2\u6237\u7aef\u6570\u636e\u5b89\u5168\u5907\u4efd\uff1aWeb Streams API \u5b9e\u73b0\u8d85\u5927 IndexedDB \u6570\u636e\u65e0\u611f\u6d41\u5f0f\u5bfc\u51fa - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u5728\u8df5\u884c\u300c\u672c\u5730\u4f18\u5148&#xff08;Local-First&#xff09;\u300d\u4e0e\u300c\u6570\u636e\u4e3b\u6743\u5b8c\u5168\u5c5e\u4e8e\u7528\u6237\u300d\u7684\u624b\u8d26\u5de5\u5177\u5f00\u53d1\u4e2d&#xff0c;\u6700\u6838\u5fc3\u7684\u4e00\u9053\u5b89\u5168\u751f\u547d\u7ebf\u5c31\u662f&#xff1a;\u6570\u636e\u5bfc\u51fa\u4e0e\u79bb\u7ebf\u5f52\u6863\u5907\u4efd\u3002 \u7528\u6237\u5728\u4f60\u7684\u79bb\u7ebf\u624b\u8d26\u91cc\u5199\u4e86\u534a\u5e74\u65e5\u8bb0\u3001\u5b58\u4e86\u51e0\u767e\u5f20\u624b\u7ed8\u6c34\u5f69\u63d2\u753b\u4e0e\u5404\u79cd\u5bfc\u51fa\u957f\u56fe&#xff0c;\u6570\u636e\u5168\u90e8\u4fdd\u5b58\u5728\u6d4f\u89c8\u5668\u5e95\u5c42\u7684 IndexedDB \u4e2d\u3002\u8fd9\u65f6\u5019\u7528\u6237\u4f1a\u4ea7\u751f\u4e00\u79cd\u6781\u5176\u5f3a\u70c8\u7684\u672c\u80fd\u8bc9\u6c42&#xff1a;\u300c\u6211\u80fd\u4e0d\u80fd\u628a\u6211\u7684\u6240\u6709\u6570\u636e\u5b8c\u6574\u4e0b\u8f7d\u6210\u4e00\u4e2a\u672c\u5730 .json \u5907\u4efd\u6587\u4ef6&#xff0c;\u5b58\u5230\u6211\u7684\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/115098.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-10T22:33:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261010223258-6acabd1a86188.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/115098.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/115098.html\",\"name\":\"\u7eaf\u5ba2\u6237\u7aef\u6570\u636e\u5b89\u5168\u5907\u4efd\uff1aWeb Streams API \u5b9e\u73b0\u8d85\u5927 IndexedDB \u6570\u636e\u65e0\u611f\u6d41\u5f0f\u5bfc\u51fa - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-10-10T22:33:04+00:00\",\"dateModified\":\"2026-10-10T22:33:04+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/115098.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/115098.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/115098.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u7eaf\u5ba2\u6237\u7aef\u6570\u636e\u5b89\u5168\u5907\u4efd\uff1aWeb Streams API \u5b9e\u73b0\u8d85\u5927 IndexedDB \u6570\u636e\u65e0\u611f\u6d41\u5f0f\u5bfc\u51fa\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u7eaf\u5ba2\u6237\u7aef\u6570\u636e\u5b89\u5168\u5907\u4efd\uff1aWeb Streams API \u5b9e\u73b0\u8d85\u5927 IndexedDB \u6570\u636e\u65e0\u611f\u6d41\u5f0f\u5bfc\u51fa - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/115098.html","og_locale":"zh_CN","og_type":"article","og_title":"\u7eaf\u5ba2\u6237\u7aef\u6570\u636e\u5b89\u5168\u5907\u4efd\uff1aWeb Streams API \u5b9e\u73b0\u8d85\u5927 IndexedDB \u6570\u636e\u65e0\u611f\u6d41\u5f0f\u5bfc\u51fa - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u5728\u8df5\u884c\u300c\u672c\u5730\u4f18\u5148&#xff08;Local-First&#xff09;\u300d\u4e0e\u300c\u6570\u636e\u4e3b\u6743\u5b8c\u5168\u5c5e\u4e8e\u7528\u6237\u300d\u7684\u624b\u8d26\u5de5\u5177\u5f00\u53d1\u4e2d&#xff0c;\u6700\u6838\u5fc3\u7684\u4e00\u9053\u5b89\u5168\u751f\u547d\u7ebf\u5c31\u662f&#xff1a;\u6570\u636e\u5bfc\u51fa\u4e0e\u79bb\u7ebf\u5f52\u6863\u5907\u4efd\u3002 \u7528\u6237\u5728\u4f60\u7684\u79bb\u7ebf\u624b\u8d26\u91cc\u5199\u4e86\u534a\u5e74\u65e5\u8bb0\u3001\u5b58\u4e86\u51e0\u767e\u5f20\u624b\u7ed8\u6c34\u5f69\u63d2\u753b\u4e0e\u5404\u79cd\u5bfc\u51fa\u957f\u56fe&#xff0c;\u6570\u636e\u5168\u90e8\u4fdd\u5b58\u5728\u6d4f\u89c8\u5668\u5e95\u5c42\u7684 IndexedDB \u4e2d\u3002\u8fd9\u65f6\u5019\u7528\u6237\u4f1a\u4ea7\u751f\u4e00\u79cd\u6781\u5176\u5f3a\u70c8\u7684\u672c\u80fd\u8bc9\u6c42&#xff1a;\u300c\u6211\u80fd\u4e0d\u80fd\u628a\u6211\u7684\u6240\u6709\u6570\u636e\u5b8c\u6574\u4e0b\u8f7d\u6210\u4e00\u4e2a\u672c\u5730 .json \u5907\u4efd\u6587\u4ef6&#xff0c;\u5b58\u5230\u6211\u7684","og_url":"https:\/\/www.wsisp.com\/helps\/115098.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-10-10T22:33:04+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261010223258-6acabd1a86188.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/115098.html","url":"https:\/\/www.wsisp.com\/helps\/115098.html","name":"\u7eaf\u5ba2\u6237\u7aef\u6570\u636e\u5b89\u5168\u5907\u4efd\uff1aWeb Streams API \u5b9e\u73b0\u8d85\u5927 IndexedDB \u6570\u636e\u65e0\u611f\u6d41\u5f0f\u5bfc\u51fa - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-10-10T22:33:04+00:00","dateModified":"2026-10-10T22:33:04+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/115098.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/115098.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/115098.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u7eaf\u5ba2\u6237\u7aef\u6570\u636e\u5b89\u5168\u5907\u4efd\uff1aWeb Streams API \u5b9e\u73b0\u8d85\u5927 IndexedDB \u6570\u636e\u65e0\u611f\u6d41\u5f0f\u5bfc\u51fa"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/115098","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=115098"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/115098\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/115097"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=115098"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=115098"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=115098"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=115098"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}