---
title: "Node Best Practices, Machine Learning in Node with TensorFlow.js and more"
publication: "Node Weekly"
issue: 250
published_at: "2018-08-09"
canonical_url: "https://nodeweekly.com/issues/250"
---

The latest Node.js news, articles, tools, and projects.       

#250 — August 9, 2018 

[Read on the Web](https://nodeweekly.com/issues/250)   

Node Weekly 

[![Dumper.js\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/c8leecutxvfai9a7rswv.jpg)](https://github.com/zeeshanu/dumper.js)  

[Dumper.js: A Pretty Variable Inspector for Node](https://github.com/zeeshanu/dumper.js) — If you’re one for ‘print-style’ debugging, this could prove very handy for you. You can either dump out the object of your choice (including nested objects) and keep running or terminate the process. 

Zeeshan Ahmed   

[A Curated Compilation of Node Best Practices](https://github.com/i0natan/nodebestpractices) — Curated from numerous popular articles, this in-development list of best practices covers topics from error handling to memory use and, most recently, [security](https://github.com/i0natan/nodebestpractices#6-security-best-practices). 

Yoni Goldberg   [![\](https://copm.s3.amazonaws.com/4c67d7a2.png)](https://start.sentry.io/for/node?utm_source=advertisement&utm_medium=display&utm_content=nodeweekly&utm_campaign=sponsorship) 

[Move Fast and Fix Stuff. Over 500K Developers Fix Errors with Sentry](https://start.sentry.io/for/node?utm_source=advertisement&utm_medium=display&utm_content=nodeweekly&utm_campaign=sponsorship) — Relying on users to report errors? Use Sentry to resolve errors right in your workflow. Route alerts to the right person based on the commit and cut remediation time to 5 minutes. Sentry is open source and loved by 500K developers. [Sign up for free](https://start.sentry.io/for/node?utm_source=advertisement&utm_medium=display&utm_content=nodeweekly&utm_campaign=sponsorship). 

Sentry sponsor   

[Got 9.0: A Powerful HTTP Request Library for Node.js](https://github.com/sindresorhus/got) — Got is a popular HTTP request library from one-man package powerhouse Sindre Sorhus. [Version 9](https://github.com/sindresorhus/got/releases/tag/v9.0.0) is a significant release that uses the latest Node 8+ features and has a significantly smaller install size. 

Sindre Sorhus   

[Machine Learning in Node with TensorFlow.js](http://jamesthom.as/blog/2018/08/07/machine-learning-in-node-dot-js-with-tensorflow-dot-js/) — TensorFlow.js brings TensorFlow’s machine learning capabilities to JavaScript, and while it’s been browser-focused so far, experimental support for Node has now been introduced. Here’s how it works. 

James Thomas   

[Community Questions Following the ESLint Security Incident](https://blog.npmjs.org/post/176488970320/community-questions-following-the-eslint-security) — Almost a month ago, there was [an incident](https://nodesource.com/blog/a-high-level-post-mortem-of-the-eslint-scope-security-incident) where a heavily used module was hijacked. This post answers a few outstanding questions about what happened and what measures are being taken to avoid similar incidents. 

The npm Blog  

💻 Jobs  

[NodeJS Development in Beautiful Norway](https://snowball.digital/careers/backend-developer) — We are adding to our team building low latency back-ends for awesome developer experience and scalable software. [Check us out](https://snowball.digital/careers/backend-developer). 

Snowball Digital   

[Join Our Career Marketplace & Get Matched With a Job You Love](https://www.hired.com/node) — Through Hired, software engineers have transparency into salary offers, competing opportunities and job details. 

Hired  

📘 Tutorials  

[Deploying a Stateful Application on Azure Kubernetes Service](https://blog.risingstack.com/deploying-a-stateful-application-on-azure-kubernetes-service-aks/) — Guides you through the process of deploying a stateful, Dockerized Node app (the [Ghost](https://github.com/TryGhost/Ghost) blogging platform) on the Azure Kubernetes Service. 

Kristof Ivancza   

[How to Create a Serverless Twitter Bot on Google Cloud](https://itnext.io/serverless-twitter-bot-with-google-cloud-35d370676f7) — Google Cloud Functions went GA last week, so why not take it for a spin? 

William Saar   

▶[An Introduction to Web Scraping with Node and Cheerio](https://www.youtube.com/watch?v=LoziivfAAjE) — [Cheerio](https://github.com/cheeriojs/cheerio) provides jQuery-style DOM manipulation server-side. 

Traversy Media   

[The Three Types of Node Profilers You Should Know About](https://dzone.com/articles/the-3-types-of-nodejs-profilers-you-should-know-ab) — A look at standard profilers, tracing profilers and APM tools. 

Ben Putano   

[Squeeze Node Performance with Flame Graphs](https://www.alxolr.com/articles/squeeze-node-js-performance-with-flame-graphs) — Investigating and optimizing a Node API using flame graphs. 

Alexandru Olaru   

▶[How to Approach Security with Node.js](https://www.youtube.com/watch?v=q9xHD_PqNpQ) — A conversation with Google Engineer Mike Samuel. 

Node.js Foundation   

[Best in Class Video Infrastructure in Two API Requests](https://mux.com/?utm_campaign=Q3-Cooper-Press-NodeWeekly-Aug9&utm_source=OnlineAds&utm_medium=CooperPress-NodeWeekly) 

MUX sponsor  

🔧 Code and Tools 

[![PrettyError\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/a6eoovbz7ste3s64aee1.jpg)](https://github.com/AriaMinaei/pretty-error)  

[PrettyError: See Node.js Errors with Less Clutter and Better Formatting](https://github.com/AriaMinaei/pretty-error) 

Aria Minaei   

[chromium-headless-remote: Dockerized Chromium in Headless Remote Debugging Mode](https://github.com/deepsweet/chromium-headless-remote) — Ideal to use with Puppeteer. 

Kir Belevich   

[Be the First to Try Powerful CI/CD Pipelines in Semaphore 2.0](https://semaphoreci.com/v2-is-coming?utm_source=nodeweekly&utm_medium=email&utm_campaign=nodeweekly-semaphore-2-0-20180809) — Model your workflow from commit to deploy the simple way with powerful pipelines. Get your invite to try it. 

Semaphore sponsor   

[Camaro: A High Performance XML to JSON Converter](https://github.com/tuananh/camaro) — Uses bindings to [pugixml](http://pugixml.org/), a fast C++ XML parser. 

Tuan Anh Tran   

[Kakapo.js: A 'Next Gen' HTTP Mocking Framework](https://github.com/devlucky/Kakapo.js) 

DevLucky   

[Fiora: A Chat App Powered by Socket.io, Koa, MongoDB and React](https://github.com/yinxin630/fiora) 

碎碎酱   

[fast-memoize: The 'Fastest Possible' JS Memoization Library](https://github.com/caiogondim/fast-memoize.js) 

Caio Gondim         

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

[Change your email address](https://nodeweekly.com/edit_subscription/*|UID|*) or[Stop getting this newsletter](https://nodeweekly.com/leave/*|UID|*) 

© Cooper Press Ltd · Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom
