{"type":"rich","url":"https://flow-flow-flow.hatenablog.com/entry/2021/08/22/225447","blog_url":"https://flow-flow-flow.hatenablog.com/","published":"2021-08-22 22:54:47","description":"- \u3082\u304f\u3058 - 1.\u56f0\u3063\u305f\u3053\u3068 2.\u306a\u3093\u304bblob\u3092base64\u306b\u5909\u63db\u3057\u3066\u304b\u3089\u4fdd\u5b58\u3059\u308b\u3089\u3057\u3044 3.\u306f\u3044\u306f\u3044blob\u3092base64\u306b\u3057\u3066data\u90e8\u5206\u3092\u3055\u3089\u306bBuffer\u306b\u3057\u3066\u4fdd\u5b58\u3059\u308b\u308f\u3051\u3067\u3059\u306d(\u81ea\u5df1\u89e3\u6c7a) 4.\u53c2\u8003 \u56f0\u3063\u305f\u3053\u3068 electron\u3067\u30a2\u30d7\u30ea\u3092\u4f5c\u3063\u3066\u3044\u3066\u3001\u30b5\u30fc\u30d0\u304b\u3089\u53d6\u5f97\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092windows pc \u306eAppData/localLow/{appName}\u306b\u4fdd\u5b58\u3059\u308b\u5fc5\u8981\u304c\u3067\u3066\u304d\u305f\u3002\u81ea\u5206\u3068\u3057\u3066\u306f\u30ec\u30b9\u30dd\u30f3\u30b9\u3092response.blob()\u3068\u3057\u3066\u3001\u305d\u306e\u307e\u307e fs.writeFileSync(path, value);\u3067\u4fdd\u5b58\u3067\u304d\u308b\u3068\u601d\u3063\u3066\u3044\u305f\u3051\u3069\u3001\u3046\u307e\u304f\u3044\u304b\u306a\u304b\u3063\u305f\u3002\u305d\u3053\u3067\u4e00\u500b\u524d\u306e\u6848\u4ef6\u3067\u3082\u540c\u2026","author_url":"https://blog.hatena.ne.jp/thegriftsense/","width":"100%","author_name":"thegriftsense","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fflow-flow-flow.hatenablog.com%2Fentry%2F2021%2F08%2F22%2F225447\" title=\" [JavaScript] API\u304b\u3089\u30ec\u30b9\u30dd\u30f3\u30b9\u3067\u3046\u3051\u3063\u3068\u305f\u30d5\u30a1\u30a4\u30eb\u30c7\u30fc\u30bf\u3092\u30ed\u30fc\u30ab\u30eb\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u4fdd\u5b58\u3057\u305f\u3044\u306a\u3089base64\u3057\u3066\u3055\u3089\u306bBuffer\u306b\u5909\u63db\u3059\u308c\u3070\u3088\u304b\u3063\u305f - flow-flow-flow\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","blog_title":"flow-flow-flow","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/t/thegriftsense/20210822/20210822225438.jpg","title":" [JavaScript] API\u304b\u3089\u30ec\u30b9\u30dd\u30f3\u30b9\u3067\u3046\u3051\u3063\u3068\u305f\u30d5\u30a1\u30a4\u30eb\u30c7\u30fc\u30bf\u3092\u30ed\u30fc\u30ab\u30eb\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u4fdd\u5b58\u3057\u305f\u3044\u306a\u3089base64\u3057\u3066\u3055\u3089\u306bBuffer\u306b\u5909\u63db\u3059\u308c\u3070\u3088\u304b\u3063\u305f","categories":["JavaScript","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0-JavaScript","Node.js","TypeScript","electron"],"version":"1.0"}