Hapi Dev instead of Express.js

Node.js Secure Framework Hapi is a rich framework for building applications and services. It enables developers to focus on writing reusable application logic instead of spending time building infrastructure. It is a configuration-driven pattern, traditionally modeled to control web server operations. A unique feature Hapi has is the ability to create a server on a …

dotenv-flow npm package

dotenv is a zero-dependency npm module that loads environment variables from a .env file into process.env. dotenv-flow extends dotenv adding the ability to have multiple .env* files like .env.development, .env.test and .env.production, also allowing defined variables to be overwritten individually in the appropriate .env*.local file. Storing configuration in environment variables separate from code and grouping them by environments like development, test and production is based on The Twelve-Factor App methodology.

middy.js – stylish middleware engine for AWS Lambda

One of the main strengths of serverless and AWS Lambda is that, from a developer perspective, your focus is mostly shifted toward implementing business logic. Anyway, when you are writing a handler, you still have to deal with some common technical concerns outside business logic, like input parsing and validation, output serialization, error handling, etc. …

node-rate-limiter-flexible

rate-limiter-flexible limits number of actions by key and protects from DDoS and brute force attacks at any scale. It works with Redis, process Memory, Cluster or PM2, Memcached, MongoDB, MySQL, PostgreSQL and allows to control requests rate in single process or distributed environment. Atomic increments. All operations in memory or distributed environment use atomic increments against race conditions. Fast. Average request takes 0.7ms in Cluster and 2.5ms in Distributed application. See benchmarks. Flexible. Combine …

A JavaScript API for interacting with the XRP Ledger in Node.js and the browser – ripple-lib

A JavaScript API for interacting with the XRP Ledger. Features Connect to a rippled server from Node.js or a web browser Helpers for creating requests and parsing responses for the rippled API Listen to events on the XRP Ledger (transactions, ledger, validations, etc.) Sign and submit transactions to the XRP Ledger Type definitions for TypeScript Requirements Node v10 is …

Winston logger

winston is designed to be a simple and universal logging library with support for multiple transports. A transport is essentially a storage device for your logs. Each winston logger can have multiple transports (see: Transports) configured at different levels (see: Logging levels). For example, one may want error logs to be stored in a persistent remote location (like a database), …