{"url":"https://gfx.hatenadiary.org/entry/20120308/1331175667","title":" \u30b3\u30de\u30f3\u30c9\u3068\u3057\u3066\u3082\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u3057\u3066\u3082\u52d5\u304fnode.js\u30b9\u30af\u30ea\u30d7\u30c8","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgfx.hatenadiary.org%2Fentry%2F20120308%2F1331175667\" title=\" \u30b3\u30de\u30f3\u30c9\u3068\u3057\u3066\u3082\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u3057\u3066\u3082\u52d5\u304fnode.js\u30b9\u30af\u30ea\u30d7\u30c8 - Islands in the byte stream (legacy)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","published":"2012-03-08 12:01:07","width":"100%","author_url":"https://blog.hatena.ne.jp/gfx/","provider_name":"Hatena Blog","version":"1.0","blog_url":"https://gfx.hatenadiary.org/","blog_title":"Islands in the byte stream (legacy)","author_name":"gfx","provider_url":"https://hatena.blog","description":"Perl\u3067\u306f\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u30b3\u30de\u30f3\u30c9\u306e\u62e1\u5f35\u5b50\u304c\u9055\u3046\u306e\u3067\u3042\u307e\u308a\u3084\u308a\u307e\u305b\u3093\u304c\u3001node.js\u30b9\u30af\u30ea\u30d7\u30c8\u3060\u3068\u305f\u307e\u306b\u5fc5\u8981\u306b\u306a\u308b\u306e\u3067\u5099\u5fd8\u9332\u3068\u3057\u3066\u3002 process.argv[1]\u304cnode(1)\u306b\u6e21\u3055\u308c\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u540d\u3001__filename\u304c\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u540d\u524d\u306a\u306e\u3067\u3001\u3053\u308c\u304c\u4e00\u81f4\u3057\u305f\u3068\u304d\u306f\u30e1\u30a4\u30f3\u95a2\u6570\u3092\u547c\u3076\u3060\u3051\u3067\u3059\u306d\u3002 #!/usr/bin/env node \"use strict\"; function hello() { console.log(\"Hello, world!\"); } if(process.argv[1] === __filename) { hello(); } else { module\u2026","height":"190","image_url":null,"categories":[]}