#333 — April 9, 2020

Read on the Web

Node Weekly

Vuln Cost: Effortless Finding Vulnerabilities in npm Packages with VS Code — A new security scanner for VS Code that shows you inline how many vulnerabilities a specific package contains the moment you import it into your code. VS Code Marketplace link.

Snyk

Node's Release Schedule is Changing (Though Only A Little) — Due to current world events impacting work schedules, the Node.js project is shifting its priorities a little. v10 will now go into maintenance in May, v12’s schedule is ‘strategically delayed’ for stability reasons, but v13 and v14’s schedules remain as-is for now so we can still expect Node 14 later this month – yay!

Shelley Vohr

Ten Years of WFH Lessons — The COVID-19 virus is leading companies to (at least temporarily) ask their employees to work from home. At Heroku, most of our workforce has been remote since the company’s inception. Here are some of our learnings on remote work.

Heroku sponsor

Working With PDFs in Node Using pdf-lib — The pdf-lib npm module is a great tool for creating/editing PDFs with Node. Here’s how to put it to work.

Valeri Karpov

Node v10.20.0 (LTS) Released — If being on Node 10 is still important to you, this is a key release as numerous dependencies (OpenSSL, npm, and libuv) are updated.

Bethany Nicolle Griggs

💻 Jobs

Find a Job Through Vettery — Vettery specializes in tech roles and is completely free for job seekers. Create a profile to get started.

Vettery

Node.js Developer at X-Team (Remote) — Join X-Team and work on projects for companies like Riot Games, FOX, Coinbase, and more. Work from anywhere.

X-Team

ℹ️ Interested in running a job listing in Node Weekly? There's more info here.

📚 Tutorials

How to Create New Express.js Apps in Minutes with Express Generator — Paul and Nilson introduce express-generator, a command-line tool that saves you from writing repetitive boilerplate when starting new Express-based projects.

Paul Sauve

Building a Simple CRUD App with Node, Express, and MongoDB — A mega walkthrough on what CRUD, Express, MongoDB are and how to use them to build a simple web application.

zell liew

▶  On 'Good Enough' Architecture — It’s not Node specific, but this is the sort of thing you might be thinking about nonetheless. This is a 40 minute talk on software architecture looking at situations where architecture was too elaborate or too simple and how we can learn to hit the ‘sweet spot’ for our own projects.

Stefan Tilkov

Our Tech Skills Platform Is Free for the Month of April. Start Today

Pluralsight sponsor

Decorated Lambda Handlers — Reducing AWS Lambda boilerplate using a reusable decorator function.

Tom Vincent

MEAN Stack: Build an App with Angular and the Angular CLI — An extensive tutorial on how to implement Angular authentication using a REST API built with Node, Express, and MongoDB.

Jurgen Van de Moere

Adventures in Filling Out a Date Input with Puppeteer — Ah, the complications of working across different locales!

Matt Zeunert

🛠 Tools, Resources and Libraries

Prompts: Attractive Interactive Prompts for Node CLIs — Flexible, uses promises throughout, and includes support for validating input.

Terkel Gjervig Nielsen

Franc: Natural Language Detection for Text — Given some text, Franc can detect what natural language it’s written in from a set of 82, 187, or 406 languages (depending on how heavy you want the build to be). Live browser-based demo here.

Titus

Open-Source Serverless CMS Powered by React, Node.js and GraphQL API — Build dynamic websites and apps with Webiny. 100% powered by JavaScript. Deploy your sites to AWS Lambda.

Webiny Serverless CMS sponsor

Winddown: A VS Code Extension That Encourages You to Take a Break — After 25 minutes of use, this extension slowly fades out your syntax highlight colors, making things just annoying enough to encourage you to take a quick break.

schneefux

Ava 3.6: The Node Test RunnerafterEach() and afterEach.always() hooks can now determine whether the test passed.

AVA

node-notifier: Cross Platform Native Notifications from Node — Send native notifications on macOS, Linux or Windows with this.

Mikael Brevik

Peacock: Visually Distinguish Different VS Code Windows — A way to keep your various VS Code windows organized and easy to follow, if needed.

John Papa

Playwright: A Node Library to Automate Chromium, Firefox and WebKit — Microsoft’s take on a Puppeteer style library for automating browsers. We featured this a few months ago but it’s seeing frequent updates, including this week to support the just released Firefox 75.

Microsoft

Node v12.16.2 (LTS) Released — Not a significant release, just npm updating to 6.13.6 and OpenSSL to 1.1.1e.

Shelley Vohr

query-string: Parse and Stringify URL Query Strings

Sindre Sorhus