---
title: "#347: Using ES Modules in Node Today"
publication: "JavaScript Weekly"
issue: 347
published_at: "2017-08-11"
canonical_url: "https://javascriptweekly.com/issues/347"
---

#347: Using ES Modules in Node Today

This week's JavaScript news — [Read this e-mail on the Web](http://javascriptweekly.com/issues/347)

JavaScript WeeklyIssue 347 — August 11, 2017[Use ES Modules in Node Today](https://blogs.windows.com/msedgedev/2017/08/10/es-modules-node-today/)[@std/esm](https://github.com/standard-things/esm) is a spec-compliant ES module loader for Node 4+ allowing you to transition more smoothly from CommonJS. John-David Dalton 
[Techniques for Passing Data Between Promise Callbacks](http://2ality.com/2017/08/promise-callback-data-flow.html)Some approaches for sharing data between callbacks (which each have their own scope). Dr. Axel Rauschmayer 
[![Frontend Masters\](https://copm.s3.amazonaws.com/4cf37b30.png)](https://frontendmasters.com/courses/javascript-foundations/?utm_source=javascriptweekly&utm_medium=email)[🎉 New, Updated: Deep JavaScript Foundations with Kyle Simpson](https://frontendmasters.com/courses/javascript-foundations/)Join Kyle Simpson, author of the popular “You Don’t Know JavaScript” book series, as he deep dives into JavaScript's core mechanics like scope, closure, this and prototypes ..plus new features in ES6 and more. Frontend MastersSponsor
[![Bugsnag\](https://copm.s3.amazonaws.com/4e5a5f0f.png)](https://www.bugsnag.com/platforms/javascript/?utm_source=cooperpress&utm_medium=cpc&utm_content=learn-more&utm_campaign=javascript&utm_term=javascript-weekly-20170818)[Automatically Capture Proactively Fix Client-Side Errors 🚀](https://www.bugsnag.com/platforms/javascript/?utm_source=cooperpress&utm_medium=cpc&utm_content=learn-more&utm_campaign=javascript&utm_term=javascript-weekly-20170818)“We can fix bugs in 30 minutes instead of 2 days. Our customers hardly see any bugs because we fix them right away.” Track all handled and unhandled errors, know instantly which errors to prioritize and troubleshoot efficiently. [Learn more](https://www.bugsnag.com/platforms/javascript/?utm_source=cooperpress&utm_medium=cpc&utm_content=learn-more&utm_campaign=javascript&utm_term=javascript-weekly-20170818). BugsnagSponsor
[Next.js 3.0: The Universal React App Toolchain](https://zeit.co/blog/next3)The stable release of Next.js v3.0 arrived this week, bringing with it dynamic import support, static export support, code splitting and more. Arunoda Susiripala and Tim Neutkens 
[Building a Simple AI Chatbot with the Web Speech API and Node](https://www.smashingmagazine.com/2017/08/ai-chatbot-web-speech-api-node-js/)A complete walkthrough of bringing together browsers’ speech recognition support with Node and a third party natural language processing service. Tomomi Imura 
[Reverse Engineering Obfuscated JavaScript (video)](https://www.youtube.com/watch?v=8UqHCrGdxOM)A look at how one library achieves the irksome ‘pop under’ effect in Chrome 59, where others seemingly fail. LiveOverflow 


Jobs

- [Front End Engineer at EDITED (London)](https://edited.com/jobs/engineering/?utm_source=javascriptweekly&utm_medium=email)Join us to impact how the world's biggest retailers operate by making a web app with great UX and DX using React, Redux and Glamor EDITED
- [Developer - Web Technologies](https://www.raizlabs.com/careers/?utm_source=javascriptweekly&utm_medium=email)Broaden your impact and hone your craft; build apps from scratch for expert clients. Pick your tools: Ruby, JavaScript, Elixir… Raizlabs
- [Front-End JavaScript Developer (Remote)](http://frontenddeveloperjob.com/job/5983c95d53161c0004e8bb4f?utm_source=javascriptweekly&utm_medium=email) Swift Education Systems

In Brief

[Next js13kGames Gamedev Competition Starts This Sunday](http://js13kgames.com/) news 
A popular JavaScript and HTML5 coding competition for game developers.

[Choose your ideal JavaScript framework with the GrapeCity SPEC App](http://wijmo.com/spec?utm_source=javascriptweekly&utm_medium=banner&utm_campaign=sponsoredlink_0717) 
Speed, Productivity, Ecosystem, and Compatibility. Let us help you find the best framework for your team.
GrapeCity WijmoSponsor

[6 Ways to Detect Chrome Headless](https://antoinevastel.github.io/bot%20detection/2017/08/05/detect-chrome-headless.html) tutorial 
If you want to detect bots or scrapers, say.
Antoine Vastel

[How To Get Started with V8 Development?](https://medium.com/@fhinkel/how-do-i-get-started-with-v8-development-17e976ebe4af) tutorial
Franziska Hinkelmann

[Closing Iterables is a Leaky Abstraction](http://raganwald.com/2017/07/22/closing-iterables-is-a-leaky-abstraction.html) tutorial
Reg Braithwaite

[How Angular Protects Us From XSS Attacks](https://hackernoon.com/how-angular-protects-us-from-xss-attacks-3cb7a7d49d95) tutorial
Dor Moshe

[The Consequences of Frozen Prototypes on V8](http://benediktmeurer.de/2017/08/10/frozen-prototypes/) tutorial
Benedikt Meurer

[How To Build a GitHub Search UI with React](https://medium.appbase.io/how-to-build-a-github-search-ui-in-60-minutes-295109211c70) tutorial
Divyanshu Maithani

[Aggregating Cherry-Picked Lodash Methods In An App Module](https://www.bennadel.com/blog/3314-aggregating-cherry-picked-lodash-methods-in-an-application-module-in-javascript.htm) tutorial
Ben Nadel

[A Look at the ES proposal for 'Promise.try()'](http://2ality.com/2017/08/promise-try.html) tutorial
Dr. Axel Rauschmayer

[Reduce time spent debugging by 90%](https://rollbar.com/jsweekly) 
Instantly know what's broken and why. Rollbar is monitoring, alerting, analytics for production errors. Try it.
ROLLBARSponsor

[Why You Should Use PureScript](https://gist.github.com/paf31/adfd15fbb1ac8b99fc68be2c9aca8427) opinion 
A functional language that compiles to JavaScript.
Phil Freeman

[An Angular Performance Checklist](https://www.youtube.com/watch?v=p9vT0W31ym8) video
Minko Gechev

[Britecharts 2.0 Released](https://www.eventbrite.com/engineering/britecharts-v2-0-released/) tools 
Britecharts is Eventbrite’s D3.js component-based charting library.
Marcos Iglesias

[DisplayJS: A Lightweight JS Framework for Building Ambitious UIs](https://display.js.org/) tools
Arthur Guiot

[Realtime updates on web and mobile that just work](https://www.pusher.com/?utm_source=jsweekly&utm_medium=email&utm_campaign=Aug11&utm_term=briefsponsoredlink&utm_content=cooperpress) 
PusherSponsor

[Nano ID: Tiny, Secure URL-Friendly Unique String ID Generator](https://github.com/ai/nanoid) code
Andrey Sitnik

[Posterus: Composable Async Primitives ('Futures') with True Cancelation](https://github.com/Mitranim/posterus) code
Nelo Mitranim

[Ream: A Framework for Building Universal Vue.js Apps](https://github.com/ream/ream) code
REAM

Curated by [Peter Cooper](http://twitter.com/peterc) and published by [Cooperpress](https://cooperpress.com/).

Like this? You may also enjoy: [FrontEnd Focus](http://frontendfocus.co/) : [Node Weekly](http://nodeweekly.com/) : [React Status](http://react.statuscode.com/)

[Stop getting JavaScript Weekly](*|UNSUB|*) : [Change email address](*|UPDATE_PROFILE|*) : [Read this issue on the Web](http://javascriptweekly.com/issues/347)

© Cooperpress Ltd. Fairfield Enterprise Centre, Lincoln Way, Louth, LN11 0LS, UK
