Loading…
OpenJS World 2021 has ended
Virtual Event
June 2-3
Learn More and Register to Attend

Join speakers for live Q&A in Slack! View the session description for speaker availability and more information. To see an overview of Q&A each day click here.
Back To Schedule
Wednesday, June 2 • 1:00pm - 1:30pm
Shiver My Timbers! Migrating yargs to ECMAScript Modules - Benjamin Coe, Google

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
The ECMAScript Modules standard has existed for 11 years, but it was only in April 2020 that the Node.js implementation was marked stable. Up until this point, it was difficult for the npm community to truly adopt modules, given the importance of Node.js to JavaScript tooling. Stability declared, library authors can now start thinking about a future that includes modules. ECMAScript Modules create exciting possibilities for library authors: it's now possible to target multiple JavaScript platforms, such as Deno, Node.js, and the modern web; modules have a separate loading step, making it possible to perform optimizations like tree shaking; and, they're standards backed. In this talk, Ben provides a recipe for releasing libraries that support both CommonJS (require statements) and ECMAScript modules (import and export statements), based on their experience migrating the library yargs.

Join the speaker for live Q&A on Slack: Thursday, June 3 from 11:00 - 11:20 PDT / 20:00 - 20:20 CEST, channel - #openjs_world-development

Speakers
avatar for Benjamin Coe

Benjamin Coe

Senior Engineer, Google
Ben was the third employee at npm, Inc, where he became involved with open-source and the Node.js community. Ben maintains the open source library yargs, is a collaborator on Node.js, and contributes to other projects, such as v8. Ben currently works on the client libraries team at... Read More →



Wednesday June 2, 2021 1:00pm - 1:30pm PDT
TBA
  Development