The Awesome Node.js feed

Today

Not an actual API, but I didn't know what to call it.

Article Popular Story // www.npmjs.com

np

A better npm publish.
Featured Module // Category Command Line Apps

Bulletproof node.js project architecture 🛡️

Article Popular Story // softwareontheroad.com

Sequelize vs Objection.js

Popular comparison
  • Sequelize - Multi-dialect ORM. Supports PostgreSQL, SQLite, MySQL.
  • Objection.js - Lightweight ORM built on the SQL query builder Knex.

ReDoS vulnerabilities in npm spikes by 143% and XSS continues to grow

The Node.js runtime is known to have many strengths, but one of them, the single threaded Event Loop, can also be its weakest link if not used correctly. This happens more regularly than one might think.

Regular expression denial of service (ReDoS) attacks exploit the non-linear worst-case complexity vulnerabilities that some regex patterns can lead to. For a single-threaded runtime this could be devastating, and this is why Node.js is significantly affected by this type of vulnerability.
Article Added by: lirantal // snyk.io

Yesterday

express-version-route

A Node.js express middleware that implements API versioning for route controllers
Module Added by lirantal into category Web Frameworks

A Comprehensive Guide to Contract Testing APIs in a Service Oriented Architecture

I published a thing about Consumer-Driven Contracts testing. Perhaps the most comprehensive guide on integration testing for API microservices in Node.js or in other words - How to avoid the pains of breaking your API for consumers!
Article Added by: lirantal // medium.com

nyc

Code coverage tool built on istanbul that works with subprocesses.
Featured Module // Category Testing

Node v8.16.0 (LTS)

Update Popular Story // nodejs.org

CORS Tutorial: A Guide to Cross-Origin Request Sharing

Article Popular Story // auth0.com

Last 7 Days

Setup Express with TypeScript in 3 Easy Steps

Article Popular Story // levelup.gitconnected.com

nan

A header file filled with macro and utility goodness for making add-on development for across Node.js versions easier.
Featured Module // Category Miscellaneous

Google Cloud Functions, Node.js and Express

Article Popular Story // itnext.io

LoopBack vs Next.js

Popular comparison
  • LoopBack - Powerful framework for creating REST APIs and easily connecting to backend data sources.
  • Next.js - Minimalistic framework for server-rendered React apps.

Objection to ORM hatred

Article Popular Story // www.jakso.me

Node app to share your terminal output in real-time

Article Popular Story // streamhut.io

Restify

A node framework built specifically to enable you to build correct REST web services.
Featured Module // Category Web Frameworks

HTTP frameworks must die - Eran Hammer - Medium

Article Popular Story // hueniverse.com

node-fetch vs request

Popular comparison
  • node-fetch - window.fetch for Node.js.
  • request - Simplified HTTP request client.

Objection.js

Lightweight ORM built on the SQL query builder Knex.
Featured Module // Category ODM / ORM

Ramda vs RxJS

Popular comparison
  • Ramda - A utility library with a focus on flexible functional composition enabled by automatic currying and reversed argument order. Avoids mutating data.
  • RxJS - Functional reactive library for transforming, composing, and querying various kinds of data.

WebdriverIO vs Jest

Popular comparison
  • WebdriverIO - Automated testing based on the WebDriver protocol.
  • Jest - Painless JavaScript testing.

ignite

The unfair starting CLI, Generator, and more for React Native
Featured Module // Category Command Line Apps

Lowdb vs NeDB

Popular comparison
  • Lowdb - Small JavaScript database powered by Lodash.
  • NeDB - Embedded persistent database written in JavaScript.

Awesome Node.js Newsletter » 151

Top Stories
  • NPM is firing a lot of people
  • Kyle Simpson: I’ve Forgotten More JavaScript Than Most People Ever Learn
  • [Talk] Deno, a new way to JavaScript (Ryan Dahl, JS Fest 2019 Spring)
Follow us on Twitter @NodejsLibHunt