Low-Level APIs

Vous lisez la version anglaise de ce contenu car il n’existe pas encore de traduction dans cette langue. Aidez-nous à traduire cet article !

Modules in this section implement low-level APIs. These modules fall roughly into three categories:

  • fundamental utilities such as collection. Many add-ons are likely to want to use modules from this category.

  • building blocks for higher level modules, such as events and worker. You're more likely to use these if you are building your own modules that implement new APIs, thus extending the SDK itself.

  • privileged modules that expose powerful low-level capabilities such as window/utils and net/xhr. You can use these modules in your add-on if you need to, but should be aware that the cost of privileged access is the need to take more elaborate security precautions. In many cases these modules have simpler, more restricted analogs among the "High-Level APIs" (for example, windows or request).

These modules are still in active development, and we expect to make incompatible changes to them in future releases.

io/byte-streams
Fournit des flux d'octets en lecture/écriture.
io/file
Permet d'accéder au système de fichiers local.
system/child_process
Une mise en œuvre de l'API node.js child_process.
ui/button/action
Ajouter un boutton dans l'interface utilisateur de Firefox. Avec ce module vous pourrez créer des bouttons contenant des icônes et répondant aux clic de la sourie.