.MJS Estensione file

Node.js ES Module File

Sviluppatore N/D
Popolarità
4.2  |  20 Voti
 

Che cos'è un file MJS?

An MJS file is a source code file containing an ES Module (ECMAScript Module) for use with a Node.js application. MJS files are written in JavaScript, and may also use the .JS extension outside of the Node.js context. ES Modules allow web and application developers to organize code into smaller reusable components.

Maggiori informazioni

ECMAScript 6 (ES6) introduced the specification for ES Modules, providing a standard for implementing modules in JavaScript. As of 2018, all major web browsers support ES Modules.

However, the popularity of modularized JavaScript pre-dates ES6. Node.js, a JavaScript runtime environment, used CommonJS as the specification for modules. Because so many existing applications were built with CommonJS, when Node.js added support for native ES modules, it controversially introduced the MJS file extension to differentiate the two and prevent applications from breaking.

NOTA: Some developers informally refer to MJS files as "Michael Jackson Script" files.

Apri oltre 400 formati di file con File Viewer Plus.Download gratuito

Programmi che aprono i file MJS

Windows
Prova gratuita
Gratuito
Gratuito
Mac
Prova gratuita
Gratuito
Gratuito
Gratuito
Linux
Categoria: Web
Aggiornato: 2018-11-08

Verificato da FileInfo.com

Il team di FileInfo.com ha analizzato in modo indipendente il formato file Node.js ES Module e le app Mac, Windows, and Linux elencate in questa pagina. Il nostro obiettivo è il 100% di accuratezza e pubblichiamo solo informazioni sui tipi di file che abbiamo verificato.

Se desideri suggerire aggiunte o aggiornamenti a questa pagina, faccelo sapere.