---
title: "#191: Dr. Axel Takes a Look at Node 8's util.promisify()"
publication: "Node Weekly"
issue: 191
published_at: "2017-06-08"
canonical_url: "https://nodeweekly.com/issues/191"
---

#191: Dr. Axel Takes a Look at Node 8's util.promisify()

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

Node WeeklyJune 8, 2017 #191 Hacker Noon 

[From Node 6 to Node 8: A Real-World Performance Comparison](https://hackernoon.com/upgrading-from-node-6-to-node-8-a-real-world-performance-comparison-3dfe1fbc92a3)David Gilbertson details how the switch to Node 8 resulted in shaving a quarter off server-rendering time and a third off npm install time on his app.
 Dr. Axel Rauschmayer 

[A Look at Node 8's util.promisify()](http://2ality.com/2017/05/util-promisify.html)`util.promisify` converts a callback-based function to a Promise-based one. Dr. Axel shows off how to use it.
 Node.js Foundation 

[Node 8.1 Released: A Minor Bugfix and Upgrade Release](https://nodejs.org/en/blog/release/v8.1.0/)npm upgraded to 5.0.3, libuv to 1.12.0. `fs.exists()` now works properly with `util.promisify()` and more.
 RedisgreenSponsor

[Highly available, scalable Redis](http://www.redisgreen.net/?utm_source=nodeweekly&utm_medium=email&utm_campaign=2017b&utm_content=primary&utm_term=ha+scalable)See inside your database with large key detection, memory mapping, auto-scaling and more from RedisGreen

[![Redisgreen\](https://copm.s3.amazonaws.com/346dd844.png)](http://www.redisgreen.net/?utm_source=nodeweekly&utm_medium=email&utm_campaign=2017b&utm_content=primary&utm_term=ha+scalable)
 Trevor D. Miller 

[Running a Node Server on a Raspberry Pi with a Physical Button](https://trevordmiller.com/blog/raspberry-pi-button)Wiring up a physical button to a Pi using the latest versions of Node and npm, and creating a Node server to send a text message when the button is pressed.
 Tamas Kadlecsik 

[An Example of Handling 100GB+ of Data with Node and MySQL](https://blog.risingstack.com/node-js-mysql-example-handling-hundred-gigabytes-of-data/)RisingStack uses MySQL to store data for its _Trace_ monitoring tool. Here they show how MySQL’s table partitioning helps keep things scaling and using [knex](http://knexjs.org/) to do things from Node.
 The npm Blog 

[npm 5.0.2 Released: Git Fixes and a New 'Canary' Release](http://blog.npmjs.org/post/161370331310/v502-2017-06-02)Happy to be a little closer to the edge with npm releases? `npm i -g npmc` will get you a ‘canary’ release as a separate `npm` binary.
 Peter Dierx 

[A Beginner's Guide to npm, the Node Package Manager](http://www.sitepoint.com/beginners-guide-node-package-manager/)A popular introductory guide (or refresher) has been updated for npm 5.0’s recent release.


In Brief

- [PSA: npm‑cdn.com and npm‑js.com Are Not Related to npm, Inc.](http://blog.npmjs.org/post/161325296275/statement-on-npmcdncom-and-npmjscom) news Isaac Z. Schlueter
- [Node v6.11.0 (LTS) Released](https://nodejs.org/en/blog/release/v6.11.0/) news Node.js Foundation
- [Announcing TypeScript Support in Electron](https://electron.atom.io/blog/2017/06/01/typescript) news Zeke Sikelianos
- [N-API: Next Generation Node APIs for Native Modules](https://medium.com/the-node-js-collection/n-api-next-generation-node-js-apis-for-native-modules-169af5235b06) news Node.js Foundation
- [StdLib Now Supports Node 8.0.0 Natively](https://medium.com/stdlibhq/stdlib-updates-node-8-0-0-platform-support-new-faaslang-function-definitions-b33ffe5633b8) news 
Stdlib is an infinitely scalable, self-healing web services platform. Keith Horwood
- [Get started with MongoDB and Node.js](https://resources.mongodb.com/node-js?jmp=cpress&utm_campaign=WW_CP_newsletter_sponsorship_FY17Q2&utm_content=sponsored%20&utm_medium=display&utm_source=nodeweekly0608) tutorial 
We put together a hub of resources that will help you build an app using MongoDB and Node.js. Check it out today. Mongo DBSponsor
- [Using util.promisify() in Node 8](http://farzicoder.com/util-promisify-in-Node-js-v8/) tutorial Suyash Mohan
- [Sending 10,000 Calls to Congress with Node.js and Twilio](https://www.twilio.com/blog/2017/05/calls-congress-node-js-twilio.html) tutorial 
A user calls a number and a Node script routes that to the caller’s local representative. Ian Webster
- [MongoDB Connection Pooling for Express Apps](https://blog.mlab.com/2017/05/mongodb-connection-pooling-for-express-applications/) tutorial mLab
- [First Steps to Building an API with Koa.js](https://www.dailydrip.com/blog/build-an-api-with-koa-js) tutorial 
Using Koa, a minimalist web framework (similar to Express). Alex Allen
- [Installing Node 8 on Linux with apt-get or yum](https://nodesource.com/blog/installing-node-js-8-tutorial-linux-via-package-manager) tutorial Tierney Cyren
- [Integrating OpenWhisk with Your Node App](https://www.raymondcamden.com/2017/06/02/integrating-openwhisk-with-your-node-application/) tutorial 
OpenWhisk is a serverless event-based programming service from IBM. Raymond Camden
- [Understanding Lock Files in npm 5](http://jpospisil.com/2017/06/02/understanding-lock-files-in-npm-5.html) tutorial Jiří Pospíšil
- [Writing a Chess Microservice using Node](https://medium.freecodecamp.com/follow-the-rules-with-seneca-b3cf3d08fe5d) tutorial 
Using the Seneca framework, a toolkit for Node, to break down the rules of chess into a microservice. Jeff Lowery
- [Integrating Node Build Tools with Maven](https://auth0.com/blog/integrating-node-dot-js-build-tools-with-maven/) tutorial 
Maven is a build automation tool commonly used on Java projects. Bruno Krebs
- [Try Codeship Basic: simple hosted CI that works out of the box](https://codeship.com/features/basic-aw?utm_source=email-sponsorship&utm_medium=cpc-node-weekly-secondary&utm_campaign=cooper-basic-features-signup-campaign) 
Get set up with our hosted Continuous Integration service in under 3 minutes. Join thousands of customers like InvisionApp & Whole Foods. CodeshipSponsor
- [dosycrypt: Message-Verified Encryption using DOSY RNGs](https://www.npmjs.com/package/dosycrypt) code 
DOSY is a family of random number generators that pass PractRand.
- [Moleculer: A Modern Microservices Framework for Node](https://medium.com/moleculer/moleculer-a-modern-microservices-framework-for-nodejs-bc4065e6b7ba) code Icebob
- [ReForum: A Node Forum App Built with React, Redux, Express and MongoDB](https://github.com/shoumma/ReForum) code Provash Shoumma
- [Probot: A Trainable Bot That Responds to Activity on GitHub](https://github.com/probot/probot) code
- [Springtunes: Control Your Spotify Client Remotely](https://www.npmjs.com/package/springtunes) code
- [Opportunities Aligned with Your Interest. Try Hired](https://hired.com/join/?utm_source=petercooperpress&utm_medium=sponsor&utm_campaign=%28b2c%29%28l-all%29%28r-swe%29%28q2-17-node-weekly%29&utm_content=newsletter) 
Expedite your job search. Save time and effort. Get Hired. HiredSponsor

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/191)

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