---
title: "#196: Introducing npx: An npm Package Runner"
publication: "Node Weekly"
issue: 196
published_at: "2017-07-13"
canonical_url: "https://nodeweekly.com/issues/196"
---

#196: Introducing npx: An npm Package Runner

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

Node WeeklyJuly 13, 2017 #196 Kat Marchán 

[Introducing npx: An npm Package Runner](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b)npm 5.2 introduces a new binary alongside the usual npm: npx, a tool to simplify using CLI tools and other executables hosted on the registry.
 Maël Nison 

[Let's Build a Package Manager](https://yarnpkg.com/blog/2017/07/11/lets-dev-a-package-manager/)A thorough look at the issues behind what’s involved in creating a Yarn-esque package manager.
 Node.js Foundation 

[Security Updates for All Active Release Lines](https://nodejs.org/en/blog/vulnerability/july-2017-security-releases/)A DoS vulnerability of ‘high severity’ has prompted updates across the board with [8.1.4](https://nodejs.org/en/blog/release/v8.1.4/), [7.10.1](https://nodejs.org/en/blog/release/v7.10.1/), [6.11.1](https://nodejs.org/en/blog/release/v6.11.1/) and [4.8.4](https://nodejs.org/en/blog/release/v4.8.4/) all being released this week.
 Frontend MastersSponsor

[🎉 New, Updated! Complete Intro to React (feat. Redux, Router & Flow)](https://frontendmasters.com/courses/react/)Much more than an intro, you’ll not just learn React, but also a proven set of tools including Router v4 for paging, Jest for testing, Redux and Flow!

[![Frontend Masters\](https://copm.s3.amazonaws.com/981fdb1f.png)](https://frontendmasters.com/courses/react/)
 Nicolás Bevacqua 

[Setting Up 2FA for Node Apps](https://ponyfoo.com/articles/setting-up-2fa-for-nodejs-applications)A demo of adding 2-factor authentication to an existing app, powered by the [speakeasy](https://github.com/speakeasyjs/speakeasy) library.
 Paul Breslin 

[Building Node APIs with Async/await and Firebase](https://medium.freecodecamp.org/how-to-write-beautiful-node-js-apis-using-async-await-and-the-firebase-database-befdf3a5ffee)Paul Breslin covers the typical use cases you’ll come across when creating RESTful API endpoints to read and write to a Firebase database instance.
 Liran Tal 

[Node Security: Breaking The Loop [video\]](https://www.youtube.com/watch?v=DX8FSC_7wRI)A practical 50 minute look at security measures you can take with Node apps, covering OWASP vulnerabilities, recommended libraries to use, hardening Express.js, and more.


In Brief

- [ClojureScript Is Not An Island: Integrating Node Modules](https://clojurescript.org/news/2017-07-12-clojurescript-is-not-an-island-integrating-node-modules) news António Nuno Monteiro
- [Attend the Polymer Summit, on 22-23 August in Copenhagen](https://events.withgoogle.com/polymer-summit-2017/registrations/new/?utm_source=nodeweekly&utm_medium=newsletter&utm_campaign=register-polymersummit) news 
Attend talks and workshops to learn about how to build beautiful, fast mobile web apps with Polymer. Google, Inc.Sponsor
- [Using MySQL with Node and the MySQL JavaScript Client](https://www.sitepoint.com/using-node-mysql-javascript-client/) tutorial SitePoint
- [npm 5 and file: URLs](https://medium.com/@alex_young/npm-5-and-file-urls-3c3631f7367c) tutorial 
npm now symlinks `file:` specifiers which can raise issues to be aware of. Alex R. Young
- [How to Inspect The Memory Usage of a Process in Node](https://www.valentinog.com/blog/memory-usage-node-js/) tutorial Valentino Gagliardi
- [Distributed Tracing of Node Microservices with OpenTracing](https://blog.risingstack.com/distributed-tracing-opentracing-node-js/) tutorial Péter Márton
- [Test-Driven Development for JavaScript](https://resources.codeship.com/ebooks/test-driven-development-javascript-tdd-aw?utm_source=email-sponsorship&utm_medium=cpc-node-weekly-secondary&utm_campaign=cooper-ebooks-tdd-javascript-campaign) 
In this eBook we will explore the idea of practicing Test-Driven Development (TDD) for client-side JavaScript. CodeshipSponsor
- [npm Password Resets Show Developers Need Better Security Practices](https://thenewstack.io/npm-password-resets-show-developers-need-better-security-practices/) opinion Lucian Constantin
- [7 Keys to Structuring a Node Application](http://www.infoworld.com/article/3204205/node-js/7-keys-to-structuring-your-nodejs-app.html) opinion Rahul Mhatre
- [Bundle Buddy: A Tool to Identify Bundle Duplication Across Splits](https://github.com/samccone/bundle-buddy) tools Sam Saccone
- [webpack-common-shake: A CommonJS Tree Shaker Plugin for WebPack](https://github.com/indutny/webpack-common-shake) tools Fedor Indutny
- [Terminus-Maximus: Organized Concurrent Scripts for Node](https://www.npmjs.com/package/@tww/terminus-maximus) tools 
Run concurrent command line commands in an organized and readable way. Eric Wooley
- [Best Practices for Architecting Highly Monitorable Applications](https://www.vividcortex.com/resources/architecting-highly-monitorable-apps?utm_campaign=Node%20Weekly&utm_source=ppc) VividCortexSponsor
- [Ink: Like React, But For Building CLI Apps](https://github.com/vadimdemedes/ink) code 
A component-based UI building experience, but for CLI apps. Vadim Demedes
- [Please Upgrade Node: Show A Message to Your CLI Tool's Users to Upgrade](https://github.com/typicode/please-upgrade-node) code Typicode
- [Nextein: A Static Site Generator Wrapper Around Next.js](https://github.com/elmasse/nextein) code Max Fierro
- [navalia: Simple, Easy-to-use Browser Automation At Scale](https://github.com/joelgriffith/navalia) code 
[Related documentation here](https://joelgriffith.github.io/navalia/). Joel Griffith

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

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