---
title: "#195: Mastering Async Await in Node"
publication: "Node Weekly"
issue: 195
published_at: "2017-07-06"
canonical_url: "https://nodeweekly.com/issues/195"
---

#195: Mastering Async Await in Node

This week's Node news[Read this e-mail on the Web](http://nodeweekly.com/issues/195)

Node WeeklyJuly 6, 2017 #195 Sindre Sorhus 

[Chalk 2.0: Terminal String Styling and Colorizing](https://github.com/chalk/chalk/releases/tag/v2.0.0)The _5th most depended upon npm package_ takes another step forward with full ‘true color’ (24 bit) support, plus an ability to use tagged template literals.
 lipp 

[Login-With: A Stateless OAuth Authentication Microservice](https://login-with.com/)Supports logging in with Twitter, Facebook, Google, GitHub and Reddit. Results in two cookies available for your top level domain (and therefore other apps).
 VividCortexSponsor

[[eBook\] The Essential Guide to Queuing Theory](https://www.vividcortex.com/resources/queueing-theory?utm_campaign=Node%20Weekly&utm_source=ppc)Queueing theory rules everything around you - Whether you’re an entrepreneur, engineer, or manager, queueing theory is one of the best ways to boost performance. This 30-page ebook demystifies the subject without requiring pages full of equations.

[![VividCortex\](https://copm.s3.amazonaws.com/8b9b7130.png)](https://www.vividcortex.com/resources/queueing-theory?utm_campaign=Node%20Weekly&utm_source=ppc)
 Tamas Kadlecsik 

[Mastering Async Await in Node](https://blog.risingstack.com/mastering-async-await-in-nodejs/)Simplify your callback or Promise based Node apps with async functions with async/await.
 The npm Blog 

[The npm CLI's Long Term Support (LTS) Policy](http://blog.npmjs.org/post/162451604515/the-npm-clis-long-term-support-lts-policy)There are no specific LTS releases but they backport security fixes to npm versions shipping with supported Node versions.
 Chris Ward 

[Podcast: Why Enteprise Devs Need a 'Safer' Node](https://dzone.com/articles/pravin-halady-of-nodesource-enterprise-ready-nodej)A 30 minute interview with NodeSource’s Pravin Halady on _“why enterprise developers might need a safer and more secure version of Node.js and npm”._


In Brief

- [4 Ways to Make HTTP(S) Requests from Node](https://codeburst.io/4-ways-for-making-http-s-requests-with-node-js-c524f999942d) tutorial 
The pros of cons of four different libraries for making HTTP requests. Valentino Gagliardi
- [Deploying Node & Mongo Containers on AWS Elastic Container Service](https://node.university/blog/978472/aws-ecs-containers) tutorial Azat Mardan
- [Launching Production Node Apps with PM2](https://www.dailydrip.com/blog/launching-production-node-apps-with-pm2.html) tutorial Alex Allen
- [Running a DHCP Server from Node](http://www.xarg.org/2017/06/a-pure-javascript-dhcp-implementation/) tutorial Robert Eisele
- [How to Mock a Dependency in Node, and Why](https://medium.com/@antonkorzunov/how-to-mock-dependency-in-a-node-js-and-why-2ad4386f6587) tutorial
- [Defining Mongoose Models Using TypeScript Classes](http://codingsans.com/blog/mongoose-models-using-typescript-classes) tutorial Ákos Szokodi
- [Introducing BrowserView for Electron](https://blog.figma.com/introducing-browserview-for-electron-7b40b4b493d5) story 
A new way to embed web apps with fewer bugs and more performance. Figma Design
- [Why Developers Are Replacing npm With Yarn](https://circleci.com/blog/why-are-developers-moving-to-yarn/?utm_source=cooperpress&utm_medium=newsletter&utm_content=node-weekly&utm_campaign=july) opinion CircleCISponsor
- [Why Use SemVer / Semantic Versioning?](http://blog.npmjs.org/post/162134793605/why-use-semver) opinion 
And how it has ‘changed the way we write JavaScript’. The npm Blog
- [Create a Node.js GraphQL Server: A Series](https://www.youtube.com/playlist?list=PLs2PzMqLzi7WkEKE9-DeVODZI63P4g6vk) video 
How to use GraphQL, ExpressJS and Mongoose to serve a GraphQL endpoint. Jamie Barton
- [Creating Azure Functions with JavaScript in 2 Minutes](https://www.youtube.com/watch?v=eBEAAhZfvO0a) video John Papa and Brian Clark
- [Static and Dynamic Next.js](https://www.youtube.com/watch?v=lLNJsuXB4CI) video 
This talk explores the two powerful new features of Next.js: static exports and dynamic imports. Guillermo Rauch
- [Track Node apps in real time](https://www.datadoghq.com/ts/nodejs-monitoring/?utm_source=Advertisement&utm_medium=CooperPress&utm_campaign=CooperPress-NodeWeeklyS&utm_content=Node) tools 
Visualize custom performance & usage metrics, correlate with 200+ other techs, & set sophisticated alerts. DatadogSponsor
- [bundlesize: Keep Your Bundle Size in Check](https://github.com/siddharthkp/bundlesize) tools Siddharth Kshetrapal
- [KeystoneJS: The Best Node.js Alternative to WordPress?](https://www.sitepoint.com/keystonejs-best-node-js-alternative-wordpress/) tools James Kolce
- [Search and Install npm Modules Automatically from the Atom Editor](https://github.com/algolia/atom-autocomplete-module-import) tools Algolia
- [Get 3 months free when you migrate your app to MongoDB Atlas](https://www.mongodb.com/cloud/atlas/lp/compare/offer?jmp=cpress&utm_campaign=WW_CP_newsletter_sponsorship_FY17Q2&utm_content=sponsored&utm_medium=display&utm_source=nodeweekly0706) tools 
Make the switch to the only MongoDB service from the team that builds MongoDB and we’ll give you 3 months of free usage. MONGODBSponsor
- [Audiogram: Turn Audio Into a Shareable Video](https://github.com/nypublicradio/audiogram) code 
Ideal for social media. We [tested it here.](https://twitter.com/JavaScriptDaily/status/882265826216300545) New York Public Radio
- [timercore: A Precision Timer Library for Node](https://github.com/fvgs/timercore) code Felipe Vargas
- [Stacer: A Linux System Optimizer and Monitor](https://github.com/oguzhaninan/Stacer) code 
Written as an Electron app. Oguzhan Inan

Node Weekly is curated by [Peter Cooper](https://twitter.com/peterc) and published by [Cooperpress](https://cooperpress.com/).

Want to sponsor an issue? See our [media kit.](https://cooperpress.com/mediakit)
Want to post a job? E-mail us or [use our self-serve system.](https://booking.cooperpress.com/jobs)

[Unsubscribe](*|UNSUB|*) : [Change email address](*|UPDATE_PROFILE|*) : [Read this issue on the Web](http://nodeweekly.com/issues/195)

© Cooperpress Ltd. Office 30, Lincoln Way, Louth, LN11 0LS, UK
[Email policy](https://cooperpress.com/spam.html) [Privacy policy](https://cooperpress.com/privacy.html)
