#​408 — October 7, 2021

Read on the Web

Node Weekly

Writing Clean JavaScript Tests with the BASIC Principles — An introduction to applying several key principles to shorten, clean, and simplify JavaScript and Node.js-based test suites.

Yoni Goldberg

Eleventy 1.0 Beta 1 ReleasedEleventy (a.k.a. 11ty) is a very popular Node powered static site generator originally created as a JavaScript alternative to Ruby’s Jekyll.

Eleventy Team

Security-As-Code for Developers — Automate and embed cloud security throughout the entire development lifecycle with Bridgecrew’s all-in-one DevSecOps platform.

Bridgecrew sponsor

Web Streams Everywhere (and Fetch for Node.js) — A look at how most JavaScript platforms (including browsers) now have at least partial support for creating, composing, and consuming streams of data in a stream-like fashion, as well as how Node’s streams implementation differs and can interop with the modern Web Streams API approach.

Ollie Williams

 Ask HN: Why is Node.js ‘Hated’ So Much? — Ouch! Is it? Nonetheless, this question on Hacker News led to quite a lot of discussion with over 120 comments so far – many fair, some not. I try to remain philosophical on things like this and remember C++’s creator who said: “There are only two kinds of languages: the ones people complain about and the ones nobody uses.”

Hacker News

QUICK BITS:

Sending iOS Push Notifications via APNs — Need to iOS push notifications through APNs? Here’s a walkthrough of how to send push notifications with the help of a sample iOS app and a basic Node script.

Ritu Chaturvedi

Get Started with JavaScript and InfluxDB 2.0

InfluxData sponsor

▶  13 Advanced (but Useful) Git Techniques and Shortcuts

Fireship

Polymorphism Without Objects via Multimethods

Yehonathan Sharvit

🛠 Code & Tools

construct-js: A Library for Creating Byte Level Data Structures — If you ever need to get down to the level of manipulating bits and bytes to build things, you might find this example of creating a .zip file directly in Node compelling.

Frank Stokes

Leveldown: Pure C++ Node.js LevelDB BindingsLevelDB is a fast key-value storage library built at Google that’s often used behind the scenes in other database systems (e.g. IndexedDB or Riak).

Level

Scale PostgreSQL & MySQL Globally, Without Writing Code

PolyScale.ai sponsor

Trash 8.0: Move Files and Directories to the ‘Trash’ — Rather than deleting files outright (e.g.

1
unlink

), this moves them to the ‘trashcan’ equivalent on Windows, Linux, and macOS. Now a pure ESM package.

Sindre Sorhus

kill-port: Kill the Process Running on a Given Port — For example, you could use

1
npx kill-port 3000

to kill a local process listening on port 3000. For Unix and macOS it’s basically running

1
lsof

and

1
kill

behind the scenes, but it also supports Windows.

Tiaan

actions/github-script: Write Workflows Scripting the GitHub API in JavaScript

GitHub Actions

emoji-regex: A Regular Expression to Match All Emoji-Only Symbols

Mathias Bynens

linq.js 4.0: A LINQ Implementation for JavaScript

Mihai Ciuraru

fast-check: Property Based Testing Framework Written in TypeScript

Nicolas DUBIEN

Percolate: A CLI Tool to Turn Web Pages Into PDFs

Dan Burzo

💻 Jobs

Senior Backend Engineer (Austin or Remote) — Build performant, server-side rendered e-commerce storefronts and scalable Node APIs in TypeScript, alongside helpful & talented engineers like you.

Volusion

Find Tech Jobs with Hired — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It’s free for job-seekers.

Hired


0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *