Node.js 6é£æ. 第ï¼å¼¾! npm 㨠Node.js ä¸ã§ require ã使ã£ãã¢ã¸ã¥ã¼ã«èªã¿è¾¼ã¿ã®ä»çµã¿ã«ã¤ãã¦ã¡ã¢ <- ãã¾ãã Node.js ç¨ã«ä½ã£ãèªä½ã¢ã¸ã¥ã¼ã«ãmergerãã npm ã§å ¬éãã¦ã¿ã Node.js ç¨ã®èªä½ã¢ã¸ã¥ã¼ã«ã®ä½ãæ¹ã¡ã¢ Node.js ç¨ã«ä½ã£ãèªä½ã¢ã¸ã¥ã¼ã«ã npm ã«ç»é²ãã¦å ¬éããæ¹æ³ JavaScript ãã¹ããã¬ã¼ã ã¯ã¼ã¯ãMochaãã®ä½¿ãæ¹ã¡ã¢ JavaScript ãã¹ããã¬ã¼ã ã¯ã¼ã¯ãMochaãããã©ã¦ã¶ä¸ã§ä½¿ãæ¹æ³ Node.js 㧠require ã§ã¢ã¸ã¥ã¼ã«ãèªã¿è¾¼ãéã«å¼ã£ããã£ãç®æããã£ãã®ã§ã¡ã¢ãã¦ããã¾ã. ã¤ã³ã¹ãã¼ã«æ¸ã® hoge(ä»®)ã¨ããã¢ã¸ã¥ã¼ã«ãä¸è¨ã®ãããªã³ã¼ã㧠var hoge = require('hoge'); èªã¿è¾¼ããã¨ãã¦ã Cannot find modul
{{#tags}}- {{label}}
{{/tags}}