#408 — October 7, 2021 |
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 Released — Eleventy (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
|
Polymorphism Without Objects via Multimethods
|
🛠 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 Bindings — LevelDB 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. Sindre Sorhus |
kill-port: Kill the Process Running on a Given Port — For example, you could use Tiaan |
actions/github-script: Write Workflows Scripting the GitHub API in JavaScript
|
emoji-regex: A Regular Expression to Match All Emoji-Only Symbols
|
linq.js 4.0: A LINQ Implementation for JavaScript
|
fast-check: Property Based Testing Framework Written in TypeScript
|
|