{"id":2716,"date":"2023-08-01T14:25:17","date_gmt":"2023-08-01T05:25:17","guid":{"rendered":"https:\/\/www.agile-software.site\/?p=2716"},"modified":"2023-08-01T14:25:18","modified_gmt":"2023-08-01T05:25:18","slug":"fs%e3%83%a9%e3%82%a4%e3%83%96%e3%83%a9%e3%83%aa","status":"publish","type":"post","link":"https:\/\/agile-software.net\/?p=2716","title":{"rendered":"fs\u30e9\u30a4\u30d6\u30e9\u30ea"},"content":{"rendered":"\n<p>Node.js\u3067\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u66f8\u304d\u3092\u884c\u3046\u305f\u3081\u306e\u57fa\u672c\u7684\u306a\u95a2\u6570\u3092\u63d0\u4f9b\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u3059\u3002<br>\u30d5\u30a1\u30a4\u30eb\u3092\u65b0\u898f\u4f5c\u6210\u3057\u305f\u308a\u3001\u8aad\u307f\u8fbc\u307f\u30fb\u66f8\u304d\u8fbc\u307f\u304b\u3089\u8ffd\u8a18\u30fb\u524a\u9664\u307e\u3067\u3001\u4e00\u822c\u7684\u306b\u5fc5\u8981\u306a\u6a5f\u80fd\u306f\u3042\u3089\u304b\u3058\u3081\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001Node.js\u304c\u4f7f\u3048\u308b\u74b0\u5883\u3055\u3048\u3042\u308c\u3070\u3059\u3050\u306b\u3067\u3082\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p><code>fs<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u540c\u671f\u5f62\u5f0f\u3068\u975e\u540c\u671f\u5f62\u5f0f\u306e\u4e21\u65b9\u304c\u63d0\u4f9b\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u00a0<br>\u300creadFile()\u300d\u304c\u975e\u540c\u671f\u51e6\u7406\u3067\u3001\u300creadFileSync()\u300d\u304c\u540c\u671f\u51e6\u7406\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">fs.createReadStream\/createWriteStream<\/h3>\n\n\n\n<p>\u30d5\u30a1\u30a4\u30eb\u306e\u5165\u51fa\u529b\u3092\u6271\u3046&nbsp;<code>fs<\/code>&nbsp;\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u306f\u30b9\u30c8\u30ea\u30fc\u30e0\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u30aa\u30fc\u30d7\u30f3\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/nodejs.org\/api\/fs.html#fs_fs_createreadstream_path_options\" rel=\"noreferrer noopener\" target=\"_blank\">fs.createReadStream(path[, options])<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/nodejs.org\/api\/fs.html#fs_fs_createwritestream_path_options\" rel=\"noreferrer noopener\" target=\"_blank\">fs.createWriteStream(path[, options])<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Node.js\u3067\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u66f8\u304d\u3092\u884c\u3046\u305f\u3081\u306e\u57fa\u672c\u7684\u306a\u95a2\u6570\u3092\u63d0\u4f9b\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u3092\u65b0\u898f\u4f5c\u6210\u3057\u305f\u308a\u3001\u8aad\u307f\u8fbc\u307f\u30fb\u66f8\u304d\u8fbc\u307f\u304b\u3089\u8ffd\u8a18\u30fb\u524a\u9664\u307e\u3067\u3001\u4e00\u822c\u7684\u306b\u5fc5\u8981\u306a\u6a5f\u80fd\u306f\u3042\u3089\u304b\u3058\u3081\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001Node.js<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jin_ogp_image_url":"","_jin_last_featured_id":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2716","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts\/2716","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2716"}],"version-history":[{"count":1,"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts\/2716\/revisions"}],"predecessor-version":[{"id":2717,"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts\/2716\/revisions\/2717"}],"wp:attachment":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2716"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2716"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2716"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}