RFC 9239: Updates to ECMAScript media types

(This blog post is based on a tweet thread and additional input by Mathias Bynens.)
After work started on it in August 2017, May 2022 finally saw the publication of RFC 9239 “Updates to ECMAScript media types” by Matthew A. Miller, Myles Borins, Mathia…


This content originally appeared on 2ality – JavaScript and more and was authored by Dr. Axel Rauschmayer

(This blog post is based on a tweet thread and additional input by Mathias Bynens.)

After work started on it in August 2017, May 2022 finally saw the publication of RFC 9239 “Updates to ECMAScript media types” by Matthew A. Miller, Myles Borins, Mathias Bynens, and Bradley Farias. It updates JavaScript MIME type registrations to align with reality:

  • The JavaScript MIME type is now unambiguously text/javascript.
  • .mjs is now a registered filename extension, specifically for JavaScript modules.

This unblocks tooling and server software like Apache to support JavaScript modules out of the box in a unified manner, like e.g. Node.js already does. Better industry alignment on MIME type and file extensions increases interoperability across tooling and other software.

[Read rest of post]


This content originally appeared on 2ality – JavaScript and more and was authored by Dr. Axel Rauschmayer


Print Share Comment Cite Upload Translate Updates
APA

Dr. Axel Rauschmayer | Sciencx (2022-05-18T00:00:00+00:00) RFC 9239: Updates to ECMAScript media types. Retrieved from https://www.scien.cx/2022/05/18/rfc-9239-updates-to-ecmascript-media-types/

MLA
" » RFC 9239: Updates to ECMAScript media types." Dr. Axel Rauschmayer | Sciencx - Wednesday May 18, 2022, https://www.scien.cx/2022/05/18/rfc-9239-updates-to-ecmascript-media-types/
HARVARD
Dr. Axel Rauschmayer | Sciencx Wednesday May 18, 2022 » RFC 9239: Updates to ECMAScript media types., viewed ,<https://www.scien.cx/2022/05/18/rfc-9239-updates-to-ecmascript-media-types/>
VANCOUVER
Dr. Axel Rauschmayer | Sciencx - » RFC 9239: Updates to ECMAScript media types. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/05/18/rfc-9239-updates-to-ecmascript-media-types/
CHICAGO
" » RFC 9239: Updates to ECMAScript media types." Dr. Axel Rauschmayer | Sciencx - Accessed . https://www.scien.cx/2022/05/18/rfc-9239-updates-to-ecmascript-media-types/
IEEE
" » RFC 9239: Updates to ECMAScript media types." Dr. Axel Rauschmayer | Sciencx [Online]. Available: https://www.scien.cx/2022/05/18/rfc-9239-updates-to-ecmascript-media-types/. [Accessed: ]
rf:citation
» RFC 9239: Updates to ECMAScript media types | Dr. Axel Rauschmayer | Sciencx | https://www.scien.cx/2022/05/18/rfc-9239-updates-to-ecmascript-media-types/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.