Node.jsã®Native ESM対å¿ã¯å¤¢ã®æ©è½ã§ããã夢ãè©°ãè¾¼ã¿ããããããCJSããã®ç§»è¡ãé£ãããã¦ãããã¤ã³ããä¾ç¶ã¨ãã¦åå¨ãã¾ãããã®ã²ã¨ã¤ãæ¡å¼µååé¡ã§ãNode.jsã®Native ESMã§ã¯ã¢ã¸ã¥ã¼ã«ã®æ¡å¼µåãæ示ããªããã°ãããªããªãã¾ããã (ããã¯Webãã©ã¦ã¶ã®æåã«è¿ã¥ããããã®å¤æã ã¨èãããã¾ãã) ç¹ã«TypeScriptã¨ä»ã®ãã¼ã« (JestãWebpack) ã¨çµã¿åããã¦å©ç¨ãã¦ããç¶æ ã§ã®Native ESMåã¯å®è³ªçã«æªè§£æ±ºã®ç¶æ ã ã¨è¨ãã¾ããæ¬ç¨¿ã§ã¯ãã®ç¾ç¶ã«ã¤ãã¦ã§ããç¯å²ã§ç¶æ³èª¬æã試ã¿ã¾ãã Node.jsã®æ¡å¼µåã®æ±ã Node.jsã¯CJSã¨ESMã®2ã¤ã®ã¢ã¸ã¥ã¼ã«ãã©ã¼ãããããµãã¼ããã¦ãã¾ããããããã¯åã«ãã¼ãµã¼ãç°ãªãã ãã§ã¯ãªããå®è³ªçã«ã¯ã2種é¡ã®ç°ãªãã¢ã¸ã¥ã¼ã«ã·ã¹ãã ãFFIã§ç¹ãã£ã¦ãããç¨åº¦ã«ã¯éããããã
{{#tags}}- {{label}}
{{/tags}}