約66,300件1ページ目

日本語のみで絞り込む

条件を指定して検索しています。すべての条件を解除する

  • 最終更新日:3か月以内
  • 5日前 -The export declaration is used to export values from a JavaScript module. Exported values can then be imported into other programs with the import ...

    2026/10/19 -exports and exports both serve the same purpose of exporting values from a module. exports is essentially a reference to module.exports , so you can use either.

    2026/10/1 -Use module.exports in Node.js to define which functions and variables a CommonJS module exposes when imported with require(), enabling encapsulation.

    1日前 -The names for each variable have to match between the exporter and the importer. You can write functional module code using just named imports and exports.

    2026/10/15 -JavaScript modules explained through one runnable cart project, covering import, export, live bindings, re-exports, browser setup, Node.js, and import().

    2026/9/7 -This chapter covers modules and imports/exports in JavaScript. We will see how to use them to organise and share code more effectively, and how to move data ...

    A.こちらはnode.jsなので https://mindcat.hatenadiary.org/entry/20110821/1313946427 こちらのやり方はどうでしょうか?

    A.defaultでエクスポートしたモジュールは 他のファイルにインポートする際任意の名前でインポートできます。 モジュールファイルの中から 特定のモジュールをインポートしたい場合は expor...

    2026/8/21 -CommonJS is a module system in which a file publishes its values by placing them on the module.exports object, and pulls in others by calling the require() ...

    2026/9/24 -Exports allow you to share functions, classes, variables, and other declarations between modules in JavaScript and TypeScript. frame_3985.

    2026/9/17 -ES Modules, the standard way to declare a module in JavaScript (with the import/export JavaScript syntax). It's used by default if the target is set to es2015 .

    2026/10/11 -Learn CommonJS: require(), module.exports, exports shortcut, and a small interop taste with ESM. A free interactive JavaScript Academy lesson with hands-o…