{"id":16463,"date":"2024-12-01T14:33:08","date_gmt":"2024-12-01T11:03:08","guid":{"rendered":"https:\/\/www.itpiran.net\/blog\/?p=16463"},"modified":"2024-12-01T14:33:08","modified_gmt":"2024-12-01T11:03:08","slug":"most-popular-npm-packages","status":"publish","type":"post","link":"https:\/\/www.itpiran.net\/blog\/ja\/tutorials\/most-popular-npm-packages\/","title":{"rendered":"\u3059\u3079\u3066\u306e Node.js \u958b\u767a\u8005\u304c\u77e5\u3063\u3066\u304a\u304f\u3079\u304d\u30c8\u30c3\u30d7 NPM \u30d1\u30c3\u30b1\u30fc\u30b8"},"content":{"rendered":"<h2 id=\"%d9%85%d9%82%d8%af%d9%85%d9%87\">\u5c0e\u5165<\/h2>\n<p>Node.js\u306f\u3001\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u3067\u52b9\u7387\u7684\u306a\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3067\u304d\u308b\u3053\u3068\u304b\u3089\u3001\u958b\u767a\u8005\u306e\u9593\u3067\u7d76\u5927\u306a\u4eba\u6c17\u3092\u535a\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u6210\u529f\u306e\u5927\u304d\u306a\u8981\u56e0\u306e\u4e00\u3064\u306f\u3001NPM\uff08Node Package Manager\uff09\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u5145\u5b9f\u3057\u305f\u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u3067\u3059\u3002\u3053\u308c\u3089\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u3001\u8907\u96d1\u306a\u30bf\u30b9\u30af\u3092\u7c21\u7d20\u5316\u3059\u308b\u65e2\u88fd\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3084\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u63d0\u4f9b\u3059\u308b\u3053\u3068\u3067\u3001Node.js\u958b\u767a\u306b\u304a\u3044\u3066\u91cd\u8981\u306a\u5f79\u5272\u3092\u679c\u305f\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u751f\u7523\u6027\u304c\u5411\u4e0a\u3057\u3001\u958b\u767a\u8005\u306f\u65e2\u5b58\u306e\u30b3\u30fc\u30c9\u3092\u518d\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u6700\u65b0\u306eWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9\u304c\u5bb9\u6613\u306b\u306a\u308a\u307e\u3059\u3002.<\/p>\n<h2 id=\"1-lodash\">1. \u30ed\u30c0\u30b7\u30e5<\/h2>\n<p>Lodash\u306f\u3001\u4e00\u822c\u7684\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30bf\u30b9\u30af\u3092\u7c21\u7d20\u5316\u3059\u308b\u5e45\u5e83\u3044\u6a5f\u80fd\u3092\u63d0\u4f9b\u3059\u308b\u3001\u4eba\u6c17\u304c\u9ad8\u304f\u4fbf\u5229\u306aJavaScript\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002\u3053\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u3001\u914d\u5217\u3001\u6587\u5b57\u5217\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306e\u5305\u62ec\u7684\u306a\u30c4\u30fc\u30eb\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002Lodash\u306f\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u6700\u9069\u5316\u3068\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u9593\u3067\u306e\u4e00\u8cab\u3057\u305f\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306b\u3088\u308a\u3001Node.js\u3084\u30d6\u30e9\u30a6\u30b6\u74b0\u5883\u3067\u5e83\u304f\u4f7f\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002.<\/p>\n<h5 id=\"%d9%88%db%8c%da%98%da%af%db%8c%d9%87%d8%a7%db%8c-%da%a9%d9%84%db%8c%d8%af%db%8c-lodash\">Lodash\u306e\u4e3b\u306a\u6a5f\u80fd<\/h5>\n<p>Lodash\u306f\u9ad8\u3044\u52b9\u7387\u6027\u3092\u5b9f\u73fe\u3059\u308b\u3088\u3046\u306b\u8a2d\u8a08\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u3001\u30e1\u30e2\u30ea\u5272\u308a\u5f53\u3066\u306e\u524a\u6e1b\u3084\u3001\u53cd\u5fa9\u51e6\u7406\u306e\u30b3\u30b9\u30c8\u3092\u524a\u6e1b\u3059\u308b\u52b9\u7387\u7684\u306a\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306e\u4f7f\u7528\u3068\u3044\u3063\u305f\u6700\u9069\u5316\u306b\u3088\u3063\u3066\u3053\u308c\u3092\u5b9f\u73fe\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u6700\u9069\u5316\u306b\u3088\u308a\u30b3\u30fc\u30c9\u306e\u901f\u5ea6\u3068\u52b9\u7387\u304c\u5411\u4e0a\u3057\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u304c\u91cd\u8996\u3055\u308c\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u6700\u9069\u3067\u3059\u3002.<\/p>\n<p>Lodash\u306f\u3001\u7570\u306a\u308bJavaScript\u74b0\u5883\u9593\u3067\u4e00\u8cab\u3057\u305f\u52d5\u4f5c\u3092\u63d0\u4f9b\u3057\u3001\u30d6\u30e9\u30a6\u30b6\u3084Node.js\u306e\u7570\u306a\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u306a\u3069\u3001\u69d8\u3005\u306a\u30b7\u30ca\u30ea\u30aa\u3067\u30b3\u30fc\u30c9\u304c\u78ba\u5b9f\u306b\u52d5\u4f5c\u3059\u308b\u3053\u3068\u3092\u4fdd\u8a3c\u3057\u307e\u3059\u3002\u3053\u306e\u4e00\u8cab\u6027\u306b\u3088\u308a\u3001\u958b\u767a\u304c\u7c21\u7d20\u5316\u3055\u308c\u3001\u975e\u4e92\u63db\u6027\u306e\u554f\u984c\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u4f4e\u6e1b\u3055\u308c\u307e\u3059\u3002.<\/p>\n<h5 id=\"%d9%85%d9%88%d8%a7%d8%b1%d8%af-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87\">\u7528\u9014<\/h5>\n<p>Lodash\u306f\u914d\u5217\u3092\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306e\u8c4a\u5bcc\u306a\u95a2\u6570\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001 <code>\u5730\u56f3<\/code> \u305d\u3057\u3066 <code>\u6e1b\u3089\u3059<\/code> \u914d\u5217\u306b\u5bfe\u3057\u3066\u4e00\u822c\u7684\u306a\u64cd\u4f5c\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002.<\/p>\n<p>\u4f8b\u3048\u3070\u3001 <code>\u5730\u56f3<\/code> \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u914d\u5217\u3092\u5909\u63db\u3059\u308b\u306b\u306f\u3001 <code>\u30d5\u30a3\u30eb\u30bf\u30fc<\/code> \u7279\u5b9a\u306e\u57fa\u6e96\u3092\u6e80\u305f\u3059\u8981\u7d20\u3092\u62bd\u51fa\u3059\u308b\u3001\u307e\u305f\u306f <code>\u6e1b\u3089\u3059<\/code> \u914d\u5217\u3092\u4f7f\u7528\u3057\u3066\u5358\u4e00\u306e\u5024\u3092\u8a08\u7b97\u3057\u307e\u3059\u3002.<\/p>\n<h2 id=\"2-moment\">2. \u77ac\u9593<\/h2>\n<p>Moment\u306f\u3001\u65e5\u4ed8\u3068\u6642\u523b\u3092\u6271\u3046\u305f\u3081\u306e\u4eba\u6c17\u306eJavaScript\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002\u65e5\u4ed8\u3068\u6642\u523b\u3092\u89e3\u6790\u3001\u64cd\u4f5c\u3001\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3001\u305d\u3057\u3066\u69d8\u3005\u306a\u5f62\u5f0f\u3067\u8868\u793a\u3059\u308b\u305f\u3081\u306e\u76f4\u611f\u7684\u3067\u5f37\u529b\u306aAPI\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002Moment\u3092\u4f7f\u3046\u3068\u3001JavaScript\u3067\u306e\u65e5\u4ed8\u3068\u6642\u523b\u306e\u64cd\u4f5c\u304c\u3088\u308a\u7c21\u5358\u3067\u52b9\u7387\u7684\u306b\u306a\u308a\u307e\u3059\u3002.<\/p>\n<h5 id=\"%d9%88%db%8c%da%98%da%af%db%8c%d9%87%d8%a7%db%8c-%da%a9%d9%84%db%8c%d8%af%db%8c-moment\">Moment\u306e\u4e3b\u306a\u6a5f\u80fd<\/h5>\n<p>Moment\u306f\u3001\u69d8\u3005\u306a\u5f62\u5f0f\u306e\u6587\u5b57\u5217\u304b\u3089\u65e5\u4ed8\u3092\u89e3\u6790\u3057\u3001\u7570\u306a\u308b\u65e5\u4ed8\u8868\u73fe\u306e\u7ba1\u7406\u306b\u4f34\u3046\u8907\u96d1\u306a\u554f\u984c\u3092\u89e3\u6d88\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u30ab\u30b9\u30bf\u30e0\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3084\u30ed\u30fc\u30ab\u30eb\u5f62\u5f0f\u306a\u3069\u3001\u65e5\u4ed8\u3068\u6642\u523b\u3092\u5e0c\u671b\u306e\u5f62\u5f0f\u3067\u8868\u793a\u3059\u308b\u305f\u3081\u306e\u8c4a\u5bcc\u306a\u66f8\u5f0f\u8a2d\u5b9a\u30aa\u30d7\u30b7\u30e7\u30f3\u3082\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002.<\/p>\n<p>Moment\u306f\u8c4a\u5bcc\u306a\u95a2\u6570\u7fa4\u3092\u63d0\u4f9b\u3059\u308b\u3053\u3068\u3067\u3001\u65e5\u4ed8\u64cd\u4f5c\u3092\u7c21\u7d20\u5316\u3057\u307e\u3059\u3002\u5e74\u3001\u6708\u3001\u6642\u9593\u306a\u3069\u306e\u6642\u9593\u5358\u4f4d\u3092\u7279\u5b9a\u306e\u65e5\u4ed8\u306b\u52a0\u7b97\u307e\u305f\u306f\u6e1b\u7b97\u3057\u305f\u308a\u3001\u65e5\u4ed8\u9593\u306e\u5dee\u3092\u8a08\u7b97\u3057\u305f\u308a\u3001\u7279\u5b9a\u306e\u671f\u9593\u306e\u958b\u59cb\u65e5\u3068\u7d42\u4e86\u65e5\u3092\u8abf\u3079\u305f\u308a\u3067\u304d\u307e\u3059\u3002Moment API\u3092\u4f7f\u3048\u3070\u3001\u4e00\u822c\u7684\u306a\u65e5\u4ed8\u64cd\u4f5c\u3092\u9ad8\u7cbe\u5ea6\u306b\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002.<\/p>\n<h5 id=\"%d9%85%d9%88%d8%a7%d8%b1%d8%af-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-2\">\u7528\u9014<\/h5>\n<p>Moment\u306f\u3001MM\/DD\/YYYY\u3084DD MMM YYYY HH:mm:ss\u3068\u3044\u3063\u305f\u7279\u5b9a\u306e\u5f62\u5f0f\u3067\u65e5\u4ed8\u3092\u8868\u793a\u3059\u308b\u4f5c\u696d\u3092\u7c21\u7d20\u5316\u3057\u307e\u3059\u3002\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30cb\u30fc\u30ba\u306b\u5408\u308f\u305b\u3066\u65e5\u4ed8\u3092\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3059\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u8aad\u307f\u3084\u3059\u304f\u30e6\u30fc\u30b6\u30fc\u30d5\u30ec\u30f3\u30c9\u30ea\u30fc\u306a\u8868\u793a\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002.<\/p>\n<h2 id=\"3-async\">3. \u975e\u540c\u671f<\/h2>\n<h5 id=\"%d9%88%db%8c%da%98%da%af%db%8c%d9%87%d8%a7%db%8c-%da%a9%d9%84%db%8c%d8%af%db%8c-async\">\u4e3b\u306a\u975e\u540c\u671f\u6a5f\u80fd<\/h5>\n<p>\u975e\u540c\u671f\u95a2\u6570\u306e\u3088\u3046\u306a <code>\u30b7\u30ea\u30fc\u30ba<\/code>\u3001 <code>\u5e73\u884c<\/code> \u305d\u3057\u3066 <code>\u6edd<\/code> \u3053\u308c\u3089\u306e\u95a2\u6570\u306f\u305d\u308c\u305e\u308c\u3001\u975e\u540c\u671f\u64cd\u4f5c\u306e\u30d5\u30ed\u30fc\u3092\u5236\u5fa1\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u95a2\u6570\u306f\u3001\u30bf\u30b9\u30af\u3092\u7279\u5b9a\u306e\u9806\u5e8f\u3067\u5b9f\u884c\u3057\u3001\u30bf\u30b9\u30af\u9593\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u7ba1\u7406\u3057\u3001\u8907\u6570\u306e\u30bf\u30b9\u30af\u3092\u4e26\u884c\u3057\u3066\u5b9f\u884c\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002Async \u306f\u3001\u975e\u540c\u671f\u95a2\u6570\u304c\u6307\u5b9a\u3055\u308c\u305f\u9806\u5e8f\u3067\u5b9f\u884c\u3055\u308c\u308b\u3053\u3068\u3092\u4fdd\u8a3c\u3057\u307e\u3059\u3002.<\/p>\n<h5 id=\"%d9%85%d9%88%d8%a7%d8%b1%d8%af-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-3\" style=\"text-align: right;\">\u7528\u9014<\/h5>\n<p>\u975e\u540c\u671f\u51e6\u7406\u306f\u3001\u8907\u6570\u306eAPI\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u540c\u6642\u306b\u3001\u307e\u305f\u306f\u9806\u756a\u306b\u5b9f\u884c\u3059\u308b\u30d7\u30ed\u30bb\u30b9\u3092\u7c21\u7d20\u5316\u3057\u307e\u3059\u3002\u6b21\u306e\u3088\u3046\u306a\u95a2\u6570\u3092\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002 <code>\u5e73\u884c<\/code> \u307e\u305f\u306f <code>\u30b7\u30ea\u30fc\u30ba<\/code> \u8907\u6570\u306e API \u30ea\u30af\u30a8\u30b9\u30c8\u3092\u5b9f\u884c\u3057\u3001\u3059\u3079\u3066\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u5b8c\u4e86\u3057\u305f\u5f8c\u306e\u7d50\u679c\u3092\u7ba1\u7406\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002.<\/p>\n<h2 id=\"4-nodemon\">4. \u30ce\u30c7\u30e2\u30f3<\/h2>\n<p>Nodemon\u306f\u3001\u30b3\u30fc\u30c9\u306e\u5909\u66f4\u304c\u691c\u51fa\u3055\u308c\u308b\u3068\u30b5\u30fc\u30d0\u30fc\u3092\u81ea\u52d5\u7684\u306b\u518d\u8d77\u52d5\u3059\u308b\u3053\u3068\u3067\u958b\u767a\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u7c21\u7d20\u5316\u3059\u308b\u3001\u4eba\u6c17\u306eNode.js\u958b\u767a\u30c4\u30fc\u30eb\u3067\u3059\u3002\u3053\u306e\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u5909\u66f4\u5f8c\u306b\u30b5\u30fc\u30d0\u30fc\u3092\u624b\u52d5\u3067\u518d\u8d77\u52d5\u3059\u308b\u5fc5\u8981\u304c\u306a\u304f\u306a\u308a\u3001\u958b\u767a\u306e\u52b9\u7387\u3068\u751f\u7523\u6027\u304c\u5411\u4e0a\u3057\u307e\u3059\u3002.<\/p>\n<h5 id=\"%d9%88%db%8c%da%98%da%af%db%8c%d9%87%d8%a7%db%8c-%da%a9%d9%84%db%8c%d8%af%db%8c-nodemon\">Nodemon\u306e\u4e3b\u306a\u6a5f\u80fd<\/h5>\n<p>Nodemon\u306f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u5909\u66f4\u3092\u76e3\u8996\u3057\u3001\u30d5\u30a1\u30a4\u30eb\u304c\u5909\u66f4\u3055\u308c\u308b\u3068\u81ea\u52d5\u7684\u306b\u30b5\u30fc\u30d0\u30fc\u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002\u3053\u306e\u6a5f\u80fd\u306b\u3088\u308a\u3001\u958b\u767a\u8005\u306f\u30b3\u30fc\u30c9\u304c\u5909\u66f4\u3055\u308c\u308b\u305f\u3073\u306b\u624b\u52d5\u3067\u30b5\u30fc\u30d0\u30fc\u3092\u505c\u6b62\u30fb\u518d\u8d77\u52d5\u3059\u308b\u624b\u9593\u304c\u7701\u3051\u3001\u958b\u767a\u30b9\u30d4\u30fc\u30c9\u304c\u5927\u5e45\u306b\u5411\u4e0a\u3057\u3001\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u4e2d\u65ad\u3059\u308b\u3053\u3068\u306a\u304f\u5373\u5ea7\u306b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002.<\/p>\n<p>Nodemon\u306f\u3001\u958b\u767a\u8005\u304c\u7279\u5b9a\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30cb\u30fc\u30ba\u306b\u5408\u308f\u305b\u3066\u52d5\u4f5c\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u308b\u67d4\u8edf\u306a\u8a2d\u5b9a\u30b7\u30b9\u30c6\u30e0\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u958b\u767a\u8005\u306f\u3001\u76e3\u8996\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3001\u7121\u8996\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3001\u7121\u8996\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u307e\u305f\u306f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3001\u30b5\u30fc\u30d0\u30fc\u518d\u8d77\u52d5\u6642\u306b\u5b9f\u884c\u3059\u308b\u30ab\u30b9\u30bf\u30e0\u30b9\u30af\u30ea\u30d7\u30c8\u306a\u3069\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u5b9a\u7fa9\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u8a2d\u5b9a\u6a5f\u80fd\u306b\u3088\u308a\u3001Nodemon\u306f\u3055\u307e\u3056\u307e\u306a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u8a2d\u5b9a\u3084\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306b\u9069\u5fdc\u3067\u304d\u307e\u3059\u3002.<\/p>\n<h5 id=\"%d9%85%d9%88%d8%a7%d8%b1%d8%af-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-4\">\u7528\u9014<\/h5>\n<p>Nodemon\u306f\u3001\u30b3\u30fc\u30c9\u5909\u66f4\u304c\u983b\u7e41\u306b\u767a\u751f\u3059\u308b\u30b5\u30fc\u30d0\u30fc\u958b\u767a\u306b\u304a\u3044\u3066\u7279\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002\u3053\u306e\u30c4\u30fc\u30eb\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306f\u3001\u958b\u767a\u30d7\u30ed\u30bb\u30b9\u3092\u30b9\u30d4\u30fc\u30c9\u30a2\u30c3\u30d7\u3057\u307e\u3059\u3002Nodemon\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u958b\u767a\u8005\u306f\u5909\u66f4\u306e\u305f\u3073\u306b\u30b5\u30fc\u30d0\u30fc\u3092\u624b\u52d5\u3067\u518d\u8d77\u52d5\u3059\u308b\u5fc5\u8981\u304c\u306a\u304f\u3001\u30b3\u30fc\u30c9\u306e\u4f5c\u6210\u3068\u5909\u66f4\u306e\u30c6\u30b9\u30c8\u306b\u96c6\u4e2d\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30c4\u30fc\u30eb\u306f\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u30b5\u30a4\u30af\u30eb\u3092\u9ad8\u901f\u5316\u3057\u3001\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u53cd\u5fa9\u51e6\u7406\u3068\u30c7\u30d0\u30c3\u30b0\u3092\u5bb9\u6613\u306b\u3057\u307e\u3059\u3002.<\/p>\n<h2 id=\"5-debug\">5. \u30c7\u30d0\u30c3\u30b0<\/h2>\n<p>Debug\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u3001Node.js\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c7\u30d0\u30c3\u30b0\u306b\u5f79\u7acb\u3064\u30c4\u30fc\u30eb\u3067\u3059\u3002\u30b3\u30fc\u30c9\u306b\u30c7\u30d0\u30c3\u30b0\u30b3\u30de\u30f3\u30c9\u3092\u8ffd\u52a0\u3057\u3001\u74b0\u5883\u5909\u6570\u3092\u4ecb\u3057\u3066\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u306e\u8868\u793a\u3092\u5236\u5fa1\u3059\u308b\u305f\u3081\u306e\u3001\u30b7\u30f3\u30d7\u30eb\u306a\u304c\u3089\u3082\u5f37\u529b\u306a\u30e1\u30ab\u30cb\u30ba\u30e0\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002Debug\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u958b\u767a\u8005\u306f\u30c7\u30d0\u30c3\u30b0\u30ed\u30b0\u3092\u500b\u5225\u306b\u6709\u52b9\u5316\u307e\u305f\u306f\u7121\u52b9\u5316\u3067\u304d\u308b\u305f\u3081\u3001\u30c7\u30d0\u30c3\u30b0\u30d7\u30ed\u30bb\u30b9\u306e\u6539\u5584\u3068\u672c\u756a\u74b0\u5883\u306b\u304a\u3051\u308b\u30ce\u30a4\u30ba\u306e\u4f4e\u6e1b\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002.<\/p>\n<h5 id=\"%d9%88%db%8c%da%98%da%af%db%8c%d9%87%d8%a7%db%8c-%da%a9%d9%84%db%8c%d8%af%db%8c-debug\">\u30c7\u30d0\u30c3\u30b0\u306e\u4e3b\u306a\u6a5f\u80fd<\/h5>\n<p>\u30c7\u30d0\u30c3\u30b0\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u53ef\u80fd\u306a\u30c7\u30d0\u30c3\u30b0\u51fa\u529b\u3092\u63d0\u4f9b\u3057\u3001\u958b\u767a\u8005\u306f\u30c7\u30d0\u30c3\u30b0\u30ed\u30b0\u306e\u8a73\u7d30\u30ec\u30d9\u30eb\u3092\u5236\u5fa1\u3067\u304d\u307e\u3059\u3002\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c7\u30d0\u30c3\u30b0\u90e8\u5206\u3054\u3068\u306b\u7570\u306a\u308b\u540d\u524d\u7a7a\u9593\u3092\u5b9a\u7fa9\u3067\u304d\u308b\u305f\u3081\u3001\u7279\u5b9a\u306e\u30ed\u30b0\u306e\u6709\u52b9\u5316\u307e\u305f\u306f\u7121\u52b9\u5316\u304c\u5bb9\u6613\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u9ad8\u5ea6\u306a\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306b\u3088\u308a\u3001\u30b3\u30f3\u30bd\u30fc\u30eb\u304c\u30ed\u30b0\u3067\u7169\u96d1\u306b\u306a\u308b\u3053\u3068\u3092\u9632\u304e\u3001\u30c7\u30d0\u30c3\u30b0\u306b\u3088\u308a\u7684\u3092\u7d5e\u3063\u305f\u60c5\u5831\u3092\u63d0\u4f9b\u3067\u304d\u307e\u3059\u3002.<\/p>\n<h5 id=\"%d9%85%d9%88%d8%a7%d8%b1%d8%af-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-debug\">\u30c7\u30d0\u30c3\u30b0\u306e\u30e6\u30fc\u30b9\u30b1\u30fc\u30b9<\/h5>\n<p>\u30c7\u30d0\u30c3\u30b0\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u3001Node.js\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u64cd\u4f5c\u306e\u30c7\u30d0\u30c3\u30b0\u306b\u3088\u304f\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002API\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3084\u4e2d\u9593\u95a2\u6570\u3068\u3044\u3063\u305f\u30b3\u30fc\u30c9\u306e\u91cd\u8981\u306a\u90e8\u5206\u306b\u30c7\u30d0\u30c3\u30b0\u30b3\u30de\u30f3\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3067\u3001\u958b\u767a\u8005\u306f\u30c7\u30fc\u30bf\u30d5\u30ed\u30fc\u3001\u5909\u6570\u5024\u3001\u7279\u5b9a\u306e\u95a2\u6570\u306e\u5b9f\u884c\u306b\u3064\u3044\u3066\u3001\u3088\u308a\u8a73\u7d30\u306a\u60c5\u5831\u3092\u5f97\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30c4\u30fc\u30eb\u306f\u3001\u958b\u767a\u4e2d\u307e\u305f\u306f\u672c\u756a\u74b0\u5883\u306b\u304a\u3051\u308b\u554f\u984c\u306e\u7279\u5b9a\u3068\u8a3a\u65ad\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002.<\/p>\n<h2 id=\"6-eslint\">6. ESLint<\/h2>\n<p>ESLint\u306f\u3001Node.js\u3084Web\u958b\u767a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u304a\u3051\u308b\u30b3\u30fc\u30c9\u306e\u54c1\u8cea\u3068\u6574\u5408\u6027\u306e\u7dad\u6301\u306b\u5f79\u7acb\u3064\u3001\u4eba\u6c17\u306eJavaScript\u30b3\u30fc\u30c9\u5206\u6790\u30c4\u30fc\u30eb\uff08\u30ea\u30f3\u30bf\u30fc\uff09\u3067\u3059\u3002\u30b3\u30fc\u30c9\u3092\u5206\u6790\u3057\u3001\u6f5c\u5728\u7684\u306a\u30a8\u30e9\u30fc\u3001\u30b9\u30bf\u30a4\u30eb\u9055\u53cd\u3001\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3078\u306e\u6e96\u62e0\u306a\u3069\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3001\u30b3\u30fc\u30c9\u5168\u4f53\u306e\u54c1\u8cea\u3092\u5411\u4e0a\u3055\u305b\u308b\u305f\u3081\u306e\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3068\u63d0\u6848\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002.<\/p>\n<h5 id=\"%d9%88%db%8c%da%98%da%af%db%8c%d9%87%d8%a7%db%8c-%da%a9%d9%84%db%8c%d8%af%db%8c-eslint\">ESLint\u306e\u4e3b\u306a\u6a5f\u80fd<\/h5>\n<p>ESLint\u306fJavaScript\u30b3\u30fc\u30c9\u3092\u30b9\u30ad\u30e3\u30f3\u3057\u3001\u30d0\u30b0\u3084\u4e88\u671f\u305b\u306c\u52d5\u4f5c\u306b\u3064\u306a\u304c\u308b\u53ef\u80fd\u6027\u306e\u3042\u308b\u6f5c\u5728\u7684\u306a\u30a8\u30e9\u30fc\u3084\u554f\u984c\u3092\u7279\u5b9a\u3057\u307e\u3059\u3002\u3053\u306e\u30c4\u30fc\u30eb\u306f\u3001\u672a\u5b9a\u7fa9\u306e\u5909\u6570\u3084\u8a00\u8a9e\u6a5f\u80fd\u306e\u8aa4\u3063\u305f\u4f7f\u7528\u306a\u3069\u3001\u3088\u304f\u3042\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30df\u30b9\u3092\u7279\u5b9a\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002ESLint\u306f\u3053\u308c\u3089\u306e\u554f\u984c\u3092\u8b66\u544a\u3084\u30a8\u30e9\u30fc\u3067\u901a\u77e5\u3057\u3001\u30b3\u30fc\u30c9\u306e\u4fe1\u983c\u6027\u3068\u30a8\u30e9\u30fc\u306e\u4f4e\u6e1b\u3092\u5b9f\u73fe\u3057\u307e\u3059\u3002.<\/p>\n<p>ESLint\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u5168\u4f53\u3067\u4e00\u8cab\u3057\u305f\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30b9\u30bf\u30a4\u30eb\u3068\u898f\u7d04\u3092\u7dad\u6301\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002\u3053\u306e\u30c4\u30fc\u30eb\u306f\u3001\u30a4\u30f3\u30c7\u30f3\u30c8\u3001\u5909\u6570\u540d\u3001\u30b9\u30da\u30fc\u30b9\u306a\u3069\u3001\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u6a19\u6e96\u3092\u5b9a\u7fa9\u3059\u308b\u5e45\u5e83\u3044\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u53ef\u80fd\u306a\u30eb\u30fc\u30eb\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u4e00\u8cab\u3057\u305f\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30b9\u30bf\u30a4\u30eb\u306b\u5f93\u3046\u3053\u3068\u3067\u3001\u7279\u306b\u4ed6\u306e\u958b\u767a\u8005\u3068\u5171\u540c\u4f5c\u696d\u3092\u884c\u3046\u969b\u306b\u3001\u30b3\u30fc\u30c9\u306e\u53ef\u8aad\u6027\u3068\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6027\u304c\u5411\u4e0a\u3057\u307e\u3059\u3002.<\/p>\n<h5 id=\"%d9%85%d9%88%d8%a7%d8%b1%d8%af-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-eslint\">ESLint\u306e\u30e6\u30fc\u30b9\u30b1\u30fc\u30b9<\/h5>\n<p>ESLint\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u304a\u3051\u308b\u30b3\u30fc\u30c9\u54c1\u8cea\u57fa\u6e96\u3068\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3092\u7dad\u6301\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u958b\u767a\u30d7\u30ed\u30bb\u30b9\u306e\u65e9\u3044\u6bb5\u968e\u3067\u3001\u6f5c\u5728\u7684\u306a\u30a8\u30e9\u30fc\u3001\u4e0d\u6574\u5408\u3001\u307e\u305f\u306f\u6700\u9069\u3067\u306f\u306a\u3044\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30d1\u30bf\u30fc\u30f3\u3092\u7279\u5b9a\u3057\u3001\u4fee\u6b63\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002ESLint\u3092\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306b\u7d71\u5408\u3059\u308b\u3053\u3068\u3067\u3001\u9ad8\u3044\u30b3\u30fc\u30c9\u54c1\u8cea\u3092\u7dad\u6301\u3057\u3001\u3088\u308a\u5b89\u5b9a\u6027\u3068\u4fdd\u5b88\u6027\u306b\u512a\u308c\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002.<\/p>\n<h2 id=\"7-mocha\">7. \u30e2\u30ab<\/h2>\n<p>Mocha\u306f\u3001Node.js\u304a\u3088\u3073JavaScript\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5411\u3051\u306e\u4eba\u6c17\u306e\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002\u30c6\u30b9\u30c8\u306e\u4f5c\u6210\u3068\u5b9f\u884c\u306e\u305f\u3081\u306e\u67d4\u8edf\u3067\u5f37\u529b\u306a\u74b0\u5883\u3092\u63d0\u4f9b\u3057\u3001\u30b3\u30fc\u30c9\u306e\u54c1\u8cea\u3068\u4fe1\u983c\u6027\u306e\u691c\u8a3c\u3092\u5bb9\u6613\u306b\u3057\u307e\u3059\u3002\u307e\u305f\u3001Mocha\u306f\u30b3\u30fc\u30c9\u5206\u5272\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u304a\u308a\u3001\u30c6\u30b9\u30c8\u30b9\u30a4\u30fc\u30c8\u306e\u7ba1\u7406\u3092\u52b9\u7387\u5316\u3057\u307e\u3059\u3002.<\/p>\n<h5 id=\"%d9%88%db%8c%da%98%da%af%db%8c%d9%87%d8%a7%db%8c-%da%a9%d9%84%db%8c%d8%af%db%8c-mocha\">\u30e2\u30ab\u306e\u4e3b\u306a\u7279\u5fb4<\/h5>\n<p>Mocha \u3067\u306f\u3001\u5f93\u6765\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u3001Promise\u3001async\/await \u69cb\u6587\u306a\u3069\u3001\u69d8\u3005\u306a\u30b9\u30bf\u30a4\u30eb\u3067\u30c6\u30b9\u30c8\u3092\u5b9a\u7fa9\u3067\u304d\u307e\u3059\u3002\u30c6\u30b9\u30c8\u3092\u30b9\u30a4\u30fc\u30c8\u306b\u6574\u7406\u3057\u3001\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u3092\u5b9a\u7fa9\u3059\u308b\u305f\u3081\u306e\u30b7\u30f3\u30d7\u30eb\u3067\u76f4\u611f\u7684\u306a API \u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u3053\u306e\u67d4\u8edf\u6027\u306b\u3088\u308a\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30cb\u30fc\u30ba\u306b\u5408\u308f\u305b\u3066\u30c6\u30b9\u30c8\u3092\u69cb\u9020\u5316\u3067\u304d\u3001\u30c6\u30b9\u30c8\u30b9\u30a4\u30fc\u30c8\u306e\u7ba1\u7406\u3068\u62e1\u5f35\u304c\u5bb9\u6613\u306b\u306a\u308a\u307e\u3059\u3002.<\/p>\n<h5 id=\"%d9%85%d9%88%d8%a7%d8%b1%d8%af-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-mocha\">\u30e2\u30ab\u306e\u7528\u9014<\/h5>\n<p>Mocha\u306f\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8\u306b\u3088\u304f\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8\u3067\u306f\u3001\u30b3\u30fc\u30c9\u5185\u306e\u500b\u3005\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3084\u95a2\u6570\u306e\u52d5\u4f5c\u3092\u691c\u8a3c\u3059\u308b\u30c6\u30b9\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002Mocha\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u8907\u96d1\u306a\u95a2\u6570\u306e\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u3092\u69d8\u3005\u306a\u30b7\u30ca\u30ea\u30aa\u3067\u5b9a\u7fa9\u3057\u3001\u671f\u5f85\u3055\u308c\u308b\u7d50\u679c\u3092\u78ba\u8a8d\u3057\u305f\u308a\u3001JSON\u30c7\u30fc\u30bf\u306e\u6b63\u78ba\u6027\u3092\u304d\u3081\u7d30\u304b\u304f\u691c\u8a3c\u3057\u305f\u308a\u3067\u304d\u307e\u3059\u3002.<\/p>\n<h2 id=\"8-chai\">8. \u30c1\u30e3\u30a4<\/h2>\n<p>Chai\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u3001Node.js\u304a\u3088\u3073Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u7528\u306e\u30a2\u30b5\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3001Mocha\u306a\u3069\u306e\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u30b7\u30fc\u30e0\u30ec\u30b9\u306b\u9023\u643a\u3057\u307e\u3059\u3002\u5e45\u5e83\u3044\u30a2\u30b5\u30fc\u30b7\u30e7\u30f3\u30b9\u30bf\u30a4\u30eb\u3068\u69cb\u6587\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u7528\u610f\u3055\u308c\u3066\u304a\u308a\u3001\u958b\u767a\u8005\u306f\u30c6\u30b9\u30c8\u30b9\u30a4\u30fc\u30c8\u5185\u3067\u8aad\u307f\u3084\u3059\u304f\u8868\u73fe\u529b\u8c4a\u304b\u306a\u30a2\u30b5\u30fc\u30b7\u30e7\u30f3\u3092\u8a18\u8ff0\u3067\u304d\u307e\u3059\u3002\u7279\u306b\u4e88\u671f\u3057\u306a\u3044\u4f8b\u5916\u3092\u51e6\u7406\u3059\u308b\u969b\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002.<\/p>\n<h5 id=\"%d9%88%db%8c%da%98%da%af%db%8c%d9%87%d8%a7%db%8c-chai\">\u30c1\u30e3\u30a4\u306e\u7279\u5fb4<\/h5>\n<p>Chai\u306f\u3001\u6570\u5024\u3001\u6587\u5b57\u5217\u3001\u914d\u5217\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u3044\u3063\u305f\u4e00\u822c\u7684\u306a\u30c7\u30fc\u30bf\u578b\u306b\u5bfe\u3057\u3066\u3001\u5e45\u5e83\u3044\u7d44\u307f\u8fbc\u307f\u30a2\u30b5\u30fc\u30b7\u30e7\u30f3\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u591a\u69d8\u306a\u6bd4\u8f03\u30e1\u30bd\u30c3\u30c9\u3068\u9023\u9396\u4fee\u98fe\u5b50\u304c\u7528\u610f\u3055\u308c\u3066\u304a\u308a\u3001\u8907\u96d1\u306a\u30a2\u30b5\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3067\u304d\u307e\u3059\u3002Chai\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u671f\u5f85\u3055\u308c\u308b\u7d50\u679c\u3092\u660e\u78ba\u304b\u3064\u8aad\u307f\u3084\u3059\u3044\u65b9\u6cd5\u3067\u8868\u73fe\u3067\u304d\u308b\u305f\u3081\u3001\u30c6\u30b9\u30c8\u306e\u7406\u89e3\u3057\u3084\u3059\u3055\u304c\u5411\u4e0a\u3057\u307e\u3059\u3002.<\/p>\n<h5 id=\"%d9%85%d9%88%d8%a7%d8%b1%d8%af-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-chai\">\u30c1\u30e3\u30a4\u306e\u7528\u9014<\/h5>\n<p>Chai \u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u5909\u6570\u304c\u7279\u5b9a\u306e\u5024\u3068\u7b49\u3057\u3044\u304b\u3001\u7279\u5b9a\u306e\u578b\u3067\u3042\u308b\u304b\u3001\u7279\u5b9a\u306e\u6761\u4ef6\u3092\u6e80\u305f\u3057\u3066\u3044\u308b\u304b\u306a\u3069\u3001\u5024\u306e\u59a5\u5f53\u6027\u3092\u30c1\u30a7\u30c3\u30af\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre><code>expect(foo).to.equal(42);<\/code> <code>(bar) \u304c &#039;\u6587\u5b57\u5217&#039; \u3067\u3042\u308b\u3068\u4e88\u60f3\u3057\u307e\u3059\u3002;<\/code> <code>\u914d\u5217\u306e\u9577\u3055\u304c3\u3067\u3042\u308b\u3068\u4e88\u60f3\u3057\u307e\u3059\u3002;<\/code><\/pre>\n<p>Chai\u306f\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5185\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u5024\u3092\u30a2\u30b5\u30fc\u30c8\u3059\u308b\u305f\u3081\u306e\u4fbf\u5229\u306a\u30e1\u30bd\u30c3\u30c9\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u7279\u5b9a\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u6301\u3063\u3066\u3044\u308b\u304b\u3001\u7279\u5b9a\u306e\u5024\u3092\u542b\u3093\u3067\u3044\u308b\u304b\u3001\u7279\u5b9a\u306e\u30c7\u30fc\u30bf\u69cb\u9020\u306b\u6e96\u62e0\u3057\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\uff1a<\/p>\n<pre><code>\u30e6\u30fc\u30b6\u30fc\u304c\u30d7\u30ed\u30d1\u30c6\u30a3 &#039;name&#039; \u3092\u6301\u3064\u3053\u3068\u3092\u60f3\u5b9a\u3002;<\/code> <code>expect(user).to.deep.include({ name: &#039;John&#039;, age: 30 });<\/code><\/pre>\n<h2 id=\"9-istanbul-nyc\">9. \u30a4\u30b9\u30bf\u30f3\u30d6\u30fc\u30eb\uff08\u30cb\u30e5\u30fc\u30e8\u30fc\u30af\uff09<\/h2>\n<p>Istanbul\u306f\u3001Node.js\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u542b\u3080JavaScript\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30b3\u30fc\u30c9\u30ab\u30d0\u30ec\u30c3\u30b8\u3092\u6e2c\u5b9a\u3059\u308b\u305f\u3081\u306e\u4eba\u6c17\u30c4\u30fc\u30eb\u3067\u3059\u3002\u8a73\u7d30\u306a\u30b3\u30fc\u30c9\u30ab\u30d0\u30ec\u30c3\u30b8\u30ec\u30dd\u30fc\u30c8\u3092\u63d0\u4f9b\u3059\u308b\u3053\u3068\u3067\u3001\u958b\u767a\u8005\u304c\u30c6\u30b9\u30c8\u30b9\u30a4\u30fc\u30c8\u306e\u6709\u52b9\u6027\u3092\u8a55\u4fa1\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002.<\/p>\n<h5 id=\"%d9%88%db%8c%da%98%da%af%db%8c%d9%87%d8%a7%db%8c-%d8%a7%d8%b5%d9%84%db%8c-istanbul\">\u30a4\u30b9\u30bf\u30f3\u30d6\u30fc\u30eb\u306e\u4e3b\u306a\u7279\u5fb4<\/h5>\n<p>Istanbul\u306f\u3001\u30c6\u30b9\u30c8\u4e2d\u306b\u30b3\u30fc\u30c9\u306e\u3069\u306e\u90e8\u5206\u304c\u5b9f\u884c\u3055\u308c\u305f\u304b\u3092\u78ba\u8a8d\u3057\u3001\u30c6\u30b9\u30c8\u3067\u30ab\u30d0\u30fc\u3055\u308c\u305f\u30b3\u30fc\u30c9\u306e\u5272\u5408\u3092\u793a\u3059\u30ec\u30dd\u30fc\u30c8\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u3053\u306e\u30c4\u30fc\u30eb\u306f\u884c\u30ab\u30d0\u30ec\u30c3\u30b8\u3068\u5206\u5c90\u30ab\u30d0\u30ec\u30c3\u30b8\u3092\u6e2c\u5b9a\u3057\u3001\u30c6\u30b9\u30c8\u304c\u30b3\u30fc\u30c9\u3092\u3069\u306e\u7a0b\u5ea6\u9069\u5207\u306b\u691c\u67fb\u3057\u3066\u3044\u308b\u304b\u3092\u628a\u63e1\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002.<\/p>\n<p>Istanbul\u306f\u3001\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3001\u95a2\u6570\u3001\u5206\u5c90\u30ab\u30d0\u30ec\u30c3\u30b8\u306a\u3069\u3001\u30b3\u30fc\u30c9\u3092\u8a55\u4fa1\u3059\u308b\u305f\u3081\u306e\u69d8\u3005\u306a\u30e1\u30c8\u30ea\u30af\u30b9\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30e1\u30c8\u30ea\u30af\u30b9\u306f\u3001\u30c6\u30b9\u30c8\u30ab\u30d0\u30ec\u30c3\u30b8\u306e\u5f37\u5316\u304c\u5fc5\u8981\u306a\u30b3\u30fc\u30c9\u9818\u57df\u3084\u3001\u30c6\u30b9\u30c8\u6226\u7565\u306b\u304a\u3051\u308b\u6f5c\u5728\u7684\u306a\u30ae\u30e3\u30c3\u30d7\u3092\u7279\u5b9a\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002.<\/p>\n<h5 id=\"%d9%85%d9%88%d8%a7%d8%b1%d8%af-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-5\">\u7528\u9014<\/h5>\n<p>Istanbul\u306f\u3001\u30c6\u30b9\u30c8\u30b9\u30a4\u30fc\u30c8\u306e\u6709\u52b9\u6027\u3092\u8a55\u4fa1\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002\u3053\u306e\u30c4\u30fc\u30eb\u306f\u3001\u30c6\u30b9\u30c8\u3067\u30ab\u30d0\u30fc\u3055\u308c\u3066\u3044\u306a\u3044\u30b3\u30fc\u30c9\u90e8\u5206\u3092\u30cf\u30a4\u30e9\u30a4\u30c8\u8868\u793a\u3057\u3001\u30d0\u30b0\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u53ef\u80fd\u6027\u306e\u3042\u308b\u9818\u57df\u3084\u3001\u8ffd\u52a0\u306e\u30c6\u30b9\u30c8\u304c\u5fc5\u8981\u306a\u9818\u57df\u3092\u7279\u5b9a\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002.<\/p>\n<h2 id=\"10-web-development-javascript-library-packages\">10. Web\u958b\u767aJavaScript\u30e9\u30a4\u30d6\u30e9\u30ea\u30d1\u30c3\u30b1\u30fc\u30b8<\/h2>\n<p>\u3053\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001Node.js \u3092\u4f7f\u3063\u305f\u30a6\u30a7\u30d6\u958b\u767a\u306b\u4e0d\u53ef\u6b20\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u7126\u70b9\u3092\u5f53\u3066\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u3001\u30a6\u30a7\u30d6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9\u3001\u8a8d\u8a3c\u306e\u7ba1\u7406\u3001\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u901a\u4fe1\u306e\u5b9f\u73fe\u306b\u5fc5\u8981\u306a\u30c4\u30fc\u30eb\u3068\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u30df\u30cb\u30de\u30eb\u306a\u30a6\u30a7\u30d6\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3001\u8a8d\u8a3c\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u3001\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u901a\u4fe1\u6a5f\u80fd\u306a\u3069\u3001\u3069\u306e\u3088\u3046\u306a\u30cb\u30fc\u30ba\u306b\u3082\u5bfe\u5fdc\u3067\u304d\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u3053\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u7d39\u4ecb\u3057\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001Node.js \u3092\u4f7f\u3063\u305f\u6700\u65b0\u304b\u3064\u5f37\u529b\u306a\u30a6\u30a7\u30d6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3067\u304d\u307e\u3059\u3002.<\/p>\n<h2 id=\"11-express\">11.\u30a8\u30af\u30b9\u30d7\u30ec\u30b9<\/h2>\n<p>Express\u306f\u3001Node.js\u3067Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3084API\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306e\u3001\u5e83\u304f\u5229\u7528\u3055\u308c\u3066\u3044\u308b\u4eba\u6c17\u306e\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002\u7121\u99c4\u3092\u7701\u3044\u305f\u30b7\u30f3\u30d7\u30eb\u306aWeb\u958b\u767a\u30a2\u30d7\u30ed\u30fc\u30c1\u3092\u63d0\u4f9b\u3057\u3001\u958b\u767a\u8005\u306b\u81ea\u7531\u3067\u67d4\u8edf\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u69cb\u7bc9\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002.<\/p>\n<h5 id=\"%d9%88%db%8c%da%98%da%af%db%8c%d9%87%d8%a7%db%8c-%d8%a7%d8%b5%d9%84%db%8c-express\">Express\u306e\u4e3b\u306a\u6a5f\u80fd<\/h5>\n<p>Express\u306f\u8efd\u91cf\u3067\u90aa\u9b54\u306b\u306a\u3089\u306a\u3044\u3088\u3046\u306b\u8a2d\u8a08\u3055\u308c\u3066\u304a\u308a\u3001\u958b\u767a\u8005\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u9020\u3068\u6a5f\u80fd\u3092\u6b63\u78ba\u306b\u5236\u5fa1\u3067\u304d\u307e\u3059\u3002\u53b3\u683c\u306a\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3084\u898f\u7d04\u3092\u5f37\u5236\u3059\u308b\u3053\u3068\u306a\u304f\u3001\u5fc5\u8981\u306a\u6a5f\u80fd\u30bb\u30c3\u30c8\u3092\u63d0\u4f9b\u3059\u308b\u305f\u3081\u3001\u958b\u767a\u8005\u306f\u30cb\u30fc\u30ba\u306b\u5fdc\u3058\u3066\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u9078\u629e\u3057\u3001\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u307e\u3059\u3002.<\/p>\n<p>Express\u306f\u3001\u53d7\u4fe1\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9069\u5207\u306a\u30cf\u30f3\u30c9\u30e9\u30fc\u306b\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3059\u308b\u51e6\u7406\u3092\u7c21\u7d20\u5316\u3057\u307e\u3059\u3002GET\u3084POST\u306a\u3069\u306e\u69d8\u3005\u306aHTTP\u30e1\u30bd\u30c3\u30c9\u3084URL\u306e\u30eb\u30fc\u30c8\u3092\u5b9a\u7fa9\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u7570\u306a\u308b\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306e\u7ba1\u7406\u304c\u5bb9\u6613\u306b\u306a\u308a\u3001HTTP\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u57fa\u3065\u3044\u3066\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u51e6\u7406\u3057\u3001\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u751f\u6210\u3059\u308b\u30ed\u30b8\u30c3\u30af\u3092\u5b9a\u7fa9\u3059\u308b\u3053\u3068\u304c\u5bb9\u6613\u306b\u306a\u308a\u307e\u3059\u3002.<\/p>\n<h5 id=\"%d9%85%d9%88%d8%a7%d8%b1%d8%af-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-6\">\u7528\u9014<\/h5>\n<p>Express\u306f\u3001\u30b7\u30f3\u30d7\u30eb\u306a\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u304b\u3089\u8907\u96d1\u306a\u30a6\u30a7\u30d6\u30dd\u30fc\u30bf\u30eb\u3001\u305d\u3057\u3066\u5b8c\u5168\u306a\u30a6\u30a7\u30d6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u307e\u3067\u3001\u30a6\u30a7\u30d6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9\u306b\u5e45\u5e83\u304f\u5229\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u3001Express\u306b\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3092\u4ecb\u3057\u305f\u5e83\u7bc4\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u7528\u610f\u3055\u308c\u3066\u304a\u308a\u3001\u4f9d\u5b58\u95a2\u4fc2\u306e\u7ba1\u7406\u3092\u52b9\u7387\u5316\u3057\u307e\u3059\u3002.<\/p>\n<p>Express\u306f\u3001\u30eb\u30fc\u30c8\u7ba1\u7406\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u51e6\u7406\u3001\u9759\u7684\u30d5\u30a1\u30a4\u30eb\u306e\u63d0\u4f9b\u3001\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u30ed\u30b8\u30c3\u30af\u306e\u5b9f\u88c5\u306e\u305f\u3081\u306e\u5805\u7262\u306a\u57fa\u76e4\u3092\u63d0\u4f9b\u3059\u308b\u305f\u3081\u3001\u69d8\u3005\u306aWeb\u958b\u767a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u6700\u9069\u3067\u3059\u3002Promise\u30d9\u30fc\u30b9\u306eHTTP\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067\u3042\u308bAxios\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u3088\u308a\u5805\u7262\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002.<\/p>\n<p>Express\u306fRESTful API\u306e\u69cb\u7bc9\u306b\u9069\u3057\u3066\u304a\u308a\u3001\u7570\u306a\u308bAPI\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3078\u306e\u30eb\u30fc\u30c8\u3092\u5b9a\u7fa9\u3057\u3001\u305d\u308c\u306b\u5fdc\u3058\u3066\u30ea\u30af\u30a8\u30b9\u30c8\u3068\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u51e6\u7406\u3067\u304d\u307e\u3059\u3002Express\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u8a8d\u8a3c\u3001\u5165\u529b\u691c\u8a3c\u3001\u30c7\u30fc\u30bf\u5909\u63db\u3001\u305d\u306e\u4ed6\u306e\u4e00\u822c\u7684\u306aAPI\u95a2\u9023\u30bf\u30b9\u30af\u7528\u306e\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u3092\u5b9f\u88c5\u3067\u304d\u308b\u305f\u3081\u3001\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u3067\u5805\u7262\u306aAPI\u3092\u5bb9\u6613\u306b\u69cb\u7bc9\u3067\u304d\u307e\u3059\u3002.<\/p>\n<h2 id=\"12-passport\">12. \u30d1\u30b9\u30dd\u30fc\u30c8<\/h2>\n<p>Passport\u306f\u3001Node.js\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5411\u3051\u306e\u4eba\u6c17\u306e\u8a8d\u8a3c\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u3067\u3059\u3002\u30e6\u30fc\u30b6\u30fc\u3092\u8a8d\u8a3c\u3059\u308b\u305f\u3081\u306e\u30b7\u30f3\u30d7\u30eb\u304b\u3064\u67d4\u8edf\u306a\u65b9\u6cd5\u3092\u63d0\u4f9b\u3057\u3001Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3078\u306e\u8a8d\u8a3c\u304a\u3088\u3073\u8a8d\u53ef\u6a5f\u80fd\u306e\u5b9f\u88c5\u3092\u5bb9\u6613\u306b\u3057\u307e\u3059\u3002.<\/p>\n<h5 id=\"%d9%88%db%8c%da%98%da%af%db%8c%d9%87%d8%a7-%d9%88-%d9%85%d8%b2%d8%a7%db%8c%d8%a7%db%8c-passport\">\u30d1\u30b9\u30dd\u30fc\u30c8\u306e\u7279\u5fb4\u3068\u30e1\u30ea\u30c3\u30c8<\/h5>\n<p>Passport\u306f\u9ad8\u3044\u62e1\u5f35\u6027\u3092\u5099\u3048\u3066\u304a\u308a\u3001\u958b\u767a\u8005\u306f\u30e6\u30fc\u30b6\u30fc\u540d\/\u30d1\u30b9\u30ef\u30fc\u30c9\u3001\u30bd\u30fc\u30b7\u30e3\u30eb\u30ed\u30b0\u30a4\u30f3\uff08OAuth\uff09\u3001JSON Web Token\uff08JWT\uff09\u306a\u3069\u3001\u69d8\u3005\u306a\u8a8d\u8a3c\u6226\u7565\u3092\u7d71\u5408\u3067\u304d\u307e\u3059\u3002Google\u3001Facebook\u3001Twitter\u3001GitHub\u306a\u3069\u3001\u5e45\u5e83\u3044\u8a8d\u8a3c\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u67d4\u8edf\u6027\u306b\u3088\u308a\u3001\u958b\u767a\u8005\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30cb\u30fc\u30ba\u306b\u6700\u9069\u306a\u8a8d\u8a3c\u65b9\u6cd5\u3092\u9078\u629e\u3067\u304d\u307e\u3059\u3002.<\/p>\n<p>Passport\u306f\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u3068\u3057\u3066\u8a2d\u8a08\u3055\u308c\u3066\u304a\u308a\u3001Express\u30d9\u30fc\u30b9\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u306e\u7d71\u5408\u304c\u5bb9\u6613\u3067\u3059\u3002Express\u3084\u305d\u306e\u4ed6\u306eNode.js\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u30b7\u30fc\u30e0\u30ec\u30b9\u306b\u9023\u643a\u3057\u3001\u30ea\u30af\u30a8\u30b9\u30c8\uff0f\u30ec\u30b9\u30dd\u30f3\u30b9\u30b5\u30a4\u30af\u30eb\u306b\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u5c64\u3068\u3057\u3066\u8a8d\u8a3c\u6a5f\u80fd\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u3053\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u578b\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u30a2\u30d7\u30ed\u30fc\u30c1\u306b\u3088\u308a\u3001\u958b\u767a\u8005\u306f\u7279\u5b9a\u306e\u30d1\u30b9\u307e\u305f\u306f\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306b\u8a8d\u8a3c\u3092\u9069\u7528\u3057\u3001\u8a8d\u8a3c\u3055\u308c\u305f\u30e6\u30fc\u30b6\u30fc\u306e\u307f\u304c\u4fdd\u8b77\u3055\u308c\u305f\u30ea\u30bd\u30fc\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002.<\/p>\n<h5 id=\"%d9%85%d9%88%d8%a7%d8%b1%d8%af-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-7\">\u7528\u9014<\/h5>\n<p>Passport\u306fAPI\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u8a8d\u8a3c\u306b\u3082\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002JWT\uff08JSON Web Token\uff09\u306a\u3069\u306e\u6226\u7565\u3092\u7528\u3044\u308b\u3053\u3068\u3067\u3001\u958b\u767a\u8005\u306f\u30c8\u30fc\u30af\u30f3\u30d9\u30fc\u30b9\u306e\u8a8d\u8a3c\u3092\u5b9f\u88c5\u3057\u3001\u4fdd\u8b77\u3055\u308c\u305fAPI\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u627f\u8a8d\u3067\u304d\u307e\u3059\u3002.<\/p>\n<h2 id=\"13-socket-io\">13. \u30bd\u30b1\u30c3\u30c8IO<\/h2>\n<p>Socket.IO\u306f\u3001Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u304a\u3051\u308b\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306e\u53cc\u65b9\u5411\u30b5\u30fc\u30d0\u30fc\u30fb\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u901a\u4fe1\u3092\u53ef\u80fd\u306b\u3059\u308bJavaScript\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3084\u30d6\u30e9\u30a6\u30b6\u9593\u3067\u30b7\u30fc\u30e0\u30ec\u30b9\u306b\u52d5\u4f5c\u3059\u308bWebSocket\u30d9\u30fc\u30b9\u306e\u901a\u4fe1\u30ec\u30a4\u30e4\u30fc\u3092\u63d0\u4f9b\u3059\u308b\u3053\u3068\u3067\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30c8\u30e1\u30c3\u30bb\u30fc\u30b8\u30f3\u30b0\u3001\u30e9\u30a4\u30d6\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3001\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u6a5f\u80fd\u3068\u3044\u3063\u305f\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u6a5f\u80fd\u306e\u5b9f\u88c5\u3092\u7c21\u7d20\u5316\u3057\u307e\u3059\u3002.<\/p>\n<h5 id=\"%d9%88%db%8c%da%98%da%af%db%8c%d9%87%d8%a7%db%8c-%d8%a7%d8%b5%d9%84%db%8c-socket-io\">Socket.IO\u306e\u4e3b\u306a\u6a5f\u80fd<\/h5>\n<p>Socket.IO\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u3068\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u9593\u306e\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u901a\u4fe1\u3092\u4fc3\u9032\u3057\u3001\u30c7\u30fc\u30bf\u8ee2\u9001\u3068\u5373\u6642\u66f4\u65b0\u3092\u53ef\u80fd\u306b\u3057\u307e\u3059\u3002\u30b5\u30fc\u30d0\u30fc\u3068\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u9593\u306b\u6c38\u7d9a\u7684\u306a\u63a5\u7d9a\u3092\u78ba\u7acb\u3057\u3001\u30a4\u30d9\u30f3\u30c8\u30c9\u30ea\u30d6\u30f3\u578b\u306e\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u901a\u4fe1\u3092\u53ef\u80fd\u306b\u3057\u307e\u3059\u3002.<\/p>\n<p>Socket.IO\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u3068\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u9593\u306e\u53cc\u65b9\u5411\u304b\u3064\u4f4e\u30ec\u30a4\u30c6\u30f3\u30b7\u306e\u901a\u4fe1\u3092\u63d0\u4f9b\u3059\u308b\u6a19\u6e96\u901a\u4fe1\u30d7\u30ed\u30c8\u30b3\u30eb\u3067\u3042\u308bWebSocket\u30d7\u30ed\u30c8\u30b3\u30eb\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u3055\u3089\u306b\u3001WebSocket\u306f\u53cc\u65b9\u5411\u306e\u30c7\u30fc\u30bf\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\u3092\u53ef\u80fd\u306b\u3059\u308b\u305f\u3081\u3001\u983b\u7e41\u306a\u30dd\u30fc\u30ea\u30f3\u30b0\u3084\u30da\u30fc\u30b8\u306e\u66f4\u65b0\u3092\u5fc5\u8981\u3068\u305b\u305a\u306b\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306e\u66f4\u65b0\u304c\u53ef\u80fd\u3067\u3059\u3002.<\/p>\n<h5 id=\"%d9%85%d9%88%d8%a7%d8%b1%d8%af-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-8\">\u7528\u9014<\/h5>\n<p>Socket.IO\u306f\u3001\u8907\u6570\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u30a4\u30f3\u30b9\u30bf\u30f3\u30c8\u30e1\u30c3\u30bb\u30fc\u30b8\u30f3\u30b0\u3092\u884c\u3048\u308b\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u30e1\u30c3\u30bb\u30fc\u30b8\u30f3\u30b0\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9\u306b\u5e83\u304f\u5229\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u30e1\u30c3\u30bb\u30fc\u30b8\u9001\u4fe1\u3001\u5165\u529b\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u30d7\u30ec\u30bc\u30f3\u30b9\u8a8d\u8b58\u6a5f\u80fd\u306a\u3069\u3092\u63d0\u4f9b\u3057\u3001\u30b7\u30fc\u30e0\u30ec\u30b9\u3067\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u30f3\u30b0\u4f53\u9a13\u3092\u5b9f\u73fe\u3057\u307e\u3059\u3002.<\/p>\n<h2 id=\"%d9%86%d8%aa%db%8c%d8%ac%d9%87\">\u7d50\u679c<\/h2>\n<p>Node.js\u958b\u767a\u8005\u306b\u3068\u3063\u3066\u3001NPM\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u8a8d\u8b58\u3057\u3001\u6d3b\u7528\u3059\u308b\u3053\u3068\u306f\u91cd\u8981\u3067\u3059\u3002NPM\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u3001\u958b\u767a\u306e\u751f\u7523\u6027\u3092\u5411\u4e0a\u3055\u305b\u3001\u8907\u96d1\u306a\u30bf\u30b9\u30af\u3092\u7c21\u7d20\u5316\u3059\u308b\u30c4\u30fc\u30eb\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u5e83\u5927\u306a\u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u958b\u767a\u8005\u306f\u65e2\u6210\u306e\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u518d\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u6642\u9593\u3068\u52b4\u529b\u3092\u7bc0\u7d04\u3057\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u6700\u9069\u5316\u3057\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u9593\u3067\u4e00\u8cab\u3057\u3066\u52d5\u4f5c\u3059\u308b\u3053\u3068\u3092\u4fdd\u8a3c\u3067\u304d\u307e\u3059\u3002.<\/p>\n<p>\u7d39\u4ecb\u3057\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u6700\u65b0\u304b\u3064\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u3067\u9ad8\u54c1\u8cea\u306aNode.js\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3067\u304d\u307e\u3059\u3002\u4f9d\u5b58\u95a2\u4fc2\u7ba1\u7406\u3001\u30b3\u30fc\u30c9\u30c6\u30b9\u30c8\u3068\u30ec\u30d3\u30e5\u30fc\u3001\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u958b\u767a\u3001Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9\u306a\u3069\u3001\u3053\u308c\u3089\u306e\u30c4\u30fc\u30eb\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u958b\u767a\u306e\u30b9\u30d4\u30fc\u30c9\u3068\u52b9\u7387\u3092\u5411\u4e0a\u3055\u305b\u307e\u3059\u3002.<\/p>","protected":false},"excerpt":{"rendered":"\u306f\u3058\u3081\u306b Node.js \u306f\u3001\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u3067\u52b9\u7387\u7684\u306a\u30b5\u30fc\u30d0\u30fc\u5074\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3067\u304d\u308b\u305f\u3081\u3001\u4eba\u6c17\u304c\u9ad8\u307e\u3063\u3066\u3044\u307e\u3059\u2026","protected":false},"author":1,"featured_media":16469,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_yoast_wpseo_focuskw":"\u0628\u0633\u062a\u0647\u200c\u0647\u0627\u06cc NPM \u0636\u0631\u0648\u0631\u06cc \u0628\u0631\u0627\u06cc Node.js","_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"","_yoast_wpseo_canonical":"","_yoast_wpseo_opengraph-description":"","_yoast_wpseo_opengraph-image":"","_yoast_wpseo_twitter-description":"","_yoast_wpseo_twitter-image":"","_yoast_wpseo_focuskeywords":"[]","_yoast_wpseo_primary_category":"193","footnotes":""},"categories":[193,363],"tags":[394,462],"class_list":{"0":"post-16463","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-tutorials","8":"category-programming","9":"tag-nodejs","10":"tag-npm"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u0628\u0631\u062a\u0631\u06cc\u0646 \u0628\u0633\u062a\u0647\u200c\u0647\u0627\u06cc NPM \u06a9\u0647 \u0647\u0631 \u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u0647 Node.js \u0628\u0627\u06cc\u062f \u0628\u0634\u0646\u0627\u0633\u062f - \u0628\u0644\u0627\u06af ITPiran<\/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.itpiran.net\/blog\/ja\/tutorials\/most-popular-npm-packages\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0628\u0631\u062a\u0631\u06cc\u0646 \u0628\u0633\u062a\u0647\u200c\u0647\u0627\u06cc NPM \u06a9\u0647 \u0647\u0631 \u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u0647 Node.js \u0628\u0627\u06cc\u062f \u0628\u0634\u0646\u0627\u0633\u062f - \u0628\u0644\u0627\u06af ITPiran\" \/>\n<meta property=\"og:description\" content=\"\u0645\u0642\u062f\u0645\u0647 Node.js \u0628\u0647 \u062f\u0644\u06cc\u0644 \u062a\u0648\u0627\u0646\u0627\u06cc\u06cc \u0622\u0646 \u062f\u0631 \u0633\u0627\u062e\u062a \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc \u0633\u0645\u062a \u0633\u0631\u0648\u0631 \u0645\u0642\u06cc\u0627\u0633 \u067e\u0630\u06cc\u0631 \u0648 \u06a9\u0627\u0631\u0622\u0645\u062f\u060c \u0645\u062d\u0628\u0648\u0628\u06cc\u062a&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.itpiran.net\/blog\/ja\/tutorials\/most-popular-npm-packages\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0628\u0644\u0627\u06af ITPiran\" \/>\n<meta property=\"article:published_time\" content=\"2024-12-01T11:03:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.itpiran.net\/2024\/12\/01143044\/nodejsNpm.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1793\" \/>\n\t<meta property=\"og:image:height\" content=\"1110\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"16\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/most-popular-npm-packages\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/most-popular-npm-packages\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/person\\\/04ed27b919baca468a2273f8e4318f81\"},\"headline\":\"\u0628\u0631\u062a\u0631\u06cc\u0646 \u0628\u0633\u062a\u0647\u200c\u0647\u0627\u06cc NPM \u06a9\u0647 \u0647\u0631 \u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u0647 Node.js \u0628\u0627\u06cc\u062f \u0628\u0634\u0646\u0627\u0633\u062f\",\"datePublished\":\"2024-12-01T11:03:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/most-popular-npm-packages\\\/\"},\"wordCount\":210,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/most-popular-npm-packages\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/12\\\/01143044\\\/nodejsNpm.jpg\",\"keywords\":[\"Nodejs\",\"npm\"],\"articleSection\":[\"\u0622\u0645\u0648\u0632\u0634\u06cc\",\"\u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/most-popular-npm-packages\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/most-popular-npm-packages\\\/\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/most-popular-npm-packages\\\/\",\"name\":\"\u0628\u0631\u062a\u0631\u06cc\u0646 \u0628\u0633\u062a\u0647\u200c\u0647\u0627\u06cc NPM \u06a9\u0647 \u0647\u0631 \u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u0647 Node.js \u0628\u0627\u06cc\u062f \u0628\u0634\u0646\u0627\u0633\u062f - \u0628\u0644\u0627\u06af ITPiran\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/most-popular-npm-packages\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/most-popular-npm-packages\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/12\\\/01143044\\\/nodejsNpm.jpg\",\"datePublished\":\"2024-12-01T11:03:08+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/most-popular-npm-packages\\\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/most-popular-npm-packages\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/most-popular-npm-packages\\\/#primaryimage\",\"url\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/12\\\/01143044\\\/nodejsNpm.jpg\",\"contentUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/12\\\/01143044\\\/nodejsNpm.jpg\",\"width\":1793,\"height\":1110},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/most-popular-npm-packages\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0622\u0645\u0648\u0632\u0634\u06cc\",\"item\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/category\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u0628\u0631\u062a\u0631\u06cc\u0646 \u0628\u0633\u062a\u0647\u200c\u0647\u0627\u06cc NPM \u06a9\u0647 \u0647\u0631 \u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u0647 Node.js \u0628\u0627\u06cc\u062f \u0628\u0634\u0646\u0627\u0633\u062f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\",\"name\":\"\u0628\u0644\u0627\u06af ITPiran\",\"description\":\"\u0627\u062e\u0628\u0627\u0631 \u0648 \u0645\u0642\u0627\u0644\u0627\u062a \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\",\"name\":\"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\",\"alternateName\":\"ITPIran Blog\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/cdn.itpiran.net\\\/2023\\\/12\\\/27150508\\\/cropped-ITPIRAN-BLOG-LOGO-2.png\",\"contentUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2023\\\/12\\\/27150508\\\/cropped-ITPIRAN-BLOG-LOGO-2.png\",\"width\":512,\"height\":512,\"caption\":\"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/person\\\/04ed27b919baca468a2273f8e4318f81\",\"name\":\"admin\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/ja\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Node.js\u958b\u767a\u8005\u304c\u77e5\u3063\u3066\u304a\u304f\u3079\u304dNPM\u30d1\u30c3\u30b1\u30fc\u30b8 - ITPiran\u30d6\u30ed\u30b0","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.itpiran.net\/blog\/ja\/tutorials\/most-popular-npm-packages\/","og_locale":"ja_JP","og_type":"article","og_title":"\u0628\u0631\u062a\u0631\u06cc\u0646 \u0628\u0633\u062a\u0647\u200c\u0647\u0627\u06cc NPM \u06a9\u0647 \u0647\u0631 \u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u0647 Node.js \u0628\u0627\u06cc\u062f \u0628\u0634\u0646\u0627\u0633\u062f - \u0628\u0644\u0627\u06af ITPiran","og_description":"\u0645\u0642\u062f\u0645\u0647 Node.js \u0628\u0647 \u062f\u0644\u06cc\u0644 \u062a\u0648\u0627\u0646\u0627\u06cc\u06cc \u0622\u0646 \u062f\u0631 \u0633\u0627\u062e\u062a \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc \u0633\u0645\u062a \u0633\u0631\u0648\u0631 \u0645\u0642\u06cc\u0627\u0633 \u067e\u0630\u06cc\u0631 \u0648 \u06a9\u0627\u0631\u0622\u0645\u062f\u060c \u0645\u062d\u0628\u0648\u0628\u06cc\u062a&hellip;","og_url":"https:\/\/www.itpiran.net\/blog\/ja\/tutorials\/most-popular-npm-packages\/","og_site_name":"\u0628\u0644\u0627\u06af ITPiran","article_published_time":"2024-12-01T11:03:08+00:00","og_image":[{"width":1793,"height":1110,"url":"https:\/\/cdn.itpiran.net\/2024\/12\/01143044\/nodejsNpm.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"admin","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"16\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/most-popular-npm-packages\/#article","isPartOf":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/most-popular-npm-packages\/"},"author":{"name":"admin","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/person\/04ed27b919baca468a2273f8e4318f81"},"headline":"\u0628\u0631\u062a\u0631\u06cc\u0646 \u0628\u0633\u062a\u0647\u200c\u0647\u0627\u06cc NPM \u06a9\u0647 \u0647\u0631 \u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u0647 Node.js \u0628\u0627\u06cc\u062f \u0628\u0634\u0646\u0627\u0633\u062f","datePublished":"2024-12-01T11:03:08+00:00","mainEntityOfPage":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/most-popular-npm-packages\/"},"wordCount":210,"commentCount":0,"publisher":{"@id":"https:\/\/www.itpiran.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/most-popular-npm-packages\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.itpiran.net\/2024\/12\/01143044\/nodejsNpm.jpg","keywords":["Nodejs","npm"],"articleSection":["\u0622\u0645\u0648\u0632\u0634\u06cc","\u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.itpiran.net\/blog\/tutorials\/most-popular-npm-packages\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/most-popular-npm-packages\/","url":"https:\/\/www.itpiran.net\/blog\/tutorials\/most-popular-npm-packages\/","name":"Node.js\u958b\u767a\u8005\u304c\u77e5\u3063\u3066\u304a\u304f\u3079\u304dNPM\u30d1\u30c3\u30b1\u30fc\u30b8 - ITPiran\u30d6\u30ed\u30b0","isPartOf":{"@id":"https:\/\/www.itpiran.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/most-popular-npm-packages\/#primaryimage"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/most-popular-npm-packages\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.itpiran.net\/2024\/12\/01143044\/nodejsNpm.jpg","datePublished":"2024-12-01T11:03:08+00:00","breadcrumb":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/most-popular-npm-packages\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.itpiran.net\/blog\/tutorials\/most-popular-npm-packages\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/most-popular-npm-packages\/#primaryimage","url":"https:\/\/cdn.itpiran.net\/2024\/12\/01143044\/nodejsNpm.jpg","contentUrl":"https:\/\/cdn.itpiran.net\/2024\/12\/01143044\/nodejsNpm.jpg","width":1793,"height":1110},{"@type":"BreadcrumbList","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/most-popular-npm-packages\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.itpiran.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u0622\u0645\u0648\u0632\u0634\u06cc","item":"https:\/\/www.itpiran.net\/blog\/category\/tutorials\/"},{"@type":"ListItem","position":3,"name":"\u0628\u0631\u062a\u0631\u06cc\u0646 \u0628\u0633\u062a\u0647\u200c\u0647\u0627\u06cc NPM \u06a9\u0647 \u0647\u0631 \u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u0647 Node.js \u0628\u0627\u06cc\u062f \u0628\u0634\u0646\u0627\u0633\u062f"}]},{"@type":"WebSite","@id":"https:\/\/www.itpiran.net\/blog\/#website","url":"https:\/\/www.itpiran.net\/blog\/","name":"ITPiran\u30d6\u30ed\u30b0","description":"\u30a4\u30e9\u30f3\u306e\u6301\u7d9a\u53ef\u80fd\u306a\u8cbf\u6613\u306b\u95a2\u3059\u308b\u30cb\u30e5\u30fc\u30b9\u3068\u8a18\u4e8b","publisher":{"@id":"https:\/\/www.itpiran.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.itpiran.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.itpiran.net\/blog\/#organization","name":"\u6301\u7d9a\u53ef\u80fd\u306a\u30a4\u30e9\u30f3\u30d3\u30b8\u30cd\u30b9\u30d6\u30ed\u30b0","alternateName":"ITPIran Blog","url":"https:\/\/www.itpiran.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdn.itpiran.net\/2023\/12\/27150508\/cropped-ITPIRAN-BLOG-LOGO-2.png","contentUrl":"https:\/\/cdn.itpiran.net\/2023\/12\/27150508\/cropped-ITPIRAN-BLOG-LOGO-2.png","width":512,"height":512,"caption":"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/person\/04ed27b919baca468a2273f8e4318f81","name":"\u7ba1\u7406\u8005","url":"https:\/\/www.itpiran.net\/blog\/ja\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/posts\/16463","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/comments?post=16463"}],"version-history":[{"count":3,"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/posts\/16463\/revisions"}],"predecessor-version":[{"id":16468,"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/posts\/16463\/revisions\/16468"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/media\/16469"}],"wp:attachment":[{"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/media?parent=16463"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/categories?post=16463"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/tags?post=16463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}