{"id":2290,"date":"2021-03-05T14:19:00","date_gmt":"2021-03-05T05:19:00","guid":{"rendered":"https:\/\/yuis-programming.com\/?p=2290"},"modified":"2021-07-18T10:12:20","modified_gmt":"2021-07-18T01:12:20","slug":"node-notifier%e3%82%92%e4%bd%bf%e3%81%84node-js%e3%81%a7%e3%83%87%e3%82%b9%e3%82%af%e3%83%88%e3%83%83%e3%83%97%e9%80%9a%e7%9f%a5%e3%82%92%e8%a1%8c%e3%81%86%e3%81%ab%e3%81%af","status":"publish","type":"post","link":"https:\/\/yuis-programming.com\/?p=2290","title":{"rendered":"node-notifier\u3092\u4f7f\u3044node.js\u3067\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u901a\u77e5\u3092\u884c\u3046\u306b\u306f"},"content":{"rendered":"<p>\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u901a\u77e5\u306e\u305f\u3081\u306enode.js\u30e9\u30a4\u30d6\u30e9\u30ea\u3001node-notifier\u306e\u30ac\u30a4\u30c9\u3067\u3059\u3002<br \/>\n\u30af\u30ed\u30b9\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u3042\u308a\u3001Windows 8\/10\u3001macOS\u3001Linux\u306a\u3069\u3067\u52d5\u4f5c\u3057\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306fGithub\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/mikaelbr\/node-notifier\">mikaelbr\/node-notifier: A Node.js module for sending notifications on native Mac, Windows and Linux (or Growl as fallback)<\/a><\/p>\n<p>\u4ee5\u4e0b\u306f\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u3059\u3002<br \/>\n\u4ee5\u4e0b\u30d5\u30a1\u30a4\u30eb\u3092<code>node-notifier_dev.js<\/code>\u306a\u3069\u3068\u3057\u3066\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-js\">const notifier = require('node-notifier');\n\nnotifier.notify({\n  title: 'My notification',\n  message: 'Hello, there!',\n  sound: true,\n  wait: true\n});\n<\/code><\/pre>\n<p>\u5b9f\u884c\u3059\u308b\u305f\u3081\u306b\u306f\u3001node.js\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre><code># node.js [nvm-sh\/nvm](https:\/\/github.com\/nvm-sh\/nvm)\ncurl -o- https:\/\/raw.githubusercontent.com\/nvm-sh\/nvm\/v0.37.2\/install.sh | bash\nbash\nnvm install 13\nnode -v\n<\/code><\/pre>\n<p>node.js\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre><code>node node-notifier_dev.js\n<\/code><\/pre>\n<p><img src=\"https:\/\/yuis.xsrv.jp\/images\/ss\/ShareX_ScreenShot_cb59d7c3-bca1-4eae-ac2f-09f9bfca6fa2.png\" alt=\"https:\/\/yuis.xsrv.jp\/images\/ss\/ShareX_ScreenShot_cb59d7c3-bca1-4eae-ac2f-09f9bfca6fa2.png\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u901a\u77e5\u306e\u305f\u3081\u306enode.js\u30e9\u30a4\u30d6\u30e9\u30ea\u3001node-notifier\u306e\u30ac\u30a4\u30c9\u3067\u3059\u3002 \u30af\u30ed\u30b9\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[1],"tags":[],"acf":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8Rxwo-AW","_links":{"self":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/2290"}],"collection":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2290"}],"version-history":[{"count":1,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/2290\/revisions"}],"predecessor-version":[{"id":2291,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/2290\/revisions\/2291"}],"wp:attachment":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2290"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2290"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2290"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}