You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Martin Tzvetanov Grigorov (Jira)" <ji...@apache.org> on 2022/01/31 07:30:00 UTC

[jira] [Created] (AVRO-3338) JavaScript: Consider moving to EcmaScript modules

Martin Tzvetanov Grigorov created AVRO-3338:
-----------------------------------------------

             Summary: JavaScript: Consider moving to EcmaScript modules
                 Key: AVRO-3338
                 URL: https://issues.apache.org/jira/browse/AVRO-3338
             Project: Apache Avro
          Issue Type: Improvement
          Components: javascript
    Affects Versions: 1.11.0
            Reporter: Martin Tzvetanov Grigorov


See AVRO-3322 and its PR [https://github.com/apache/avro/pull/1473.]

It would be good to migrate the JS modules from CommonJS to EcmaScript (ESM).

ESM is supported by both Node.js and browsers while CommonJS is supported only in Node.js. Currently to use Avro JS in the browser one has to use tools like Browserify.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)