[genar@work dev]$ node app.js∎
nodejs
Node.js is an open-source, cross-platform JavaScript run-time environment that executes JavaScript code server-side. Historically, JavaScript was used primarily for client-side scripting, in which scripts written in JavaScript are embedded in a webpage’s HTML and run client-side by a JavaScript engine in the user’s web browser. Node.js lets developers use JavaScript for server-side scripting—running scripts server-side to produce dynamic web page content before the page is sent to the user’s web browser. Consequently, Node.js represents a “JavaScript everywhere” paradigm, unifying web application development around a single programming language, rather than different languages for server side and client side scripts. - Wikipedia
Version management
- nvm - Node Version Manager - Simple bash script to manage multiple active node.js versions
- avn - Automatic Version Switching for Node
Incoming
- https://github.com/chalk/chalk
- nodebestpractices - The largest Node.JS best practices list (June 2018) https://twitter.com/nodepractices/
- webdash - 🔥 Orchestrate your web project with Webdash the customizable web dashboard https://webdash.xyz
- t-eye - Execute terminal commands and retrieve output via websocket
- https://kmruiz.github.io/posts/2018-07-22-wind-js-actor-model/
- wind.js -
Reactive, actor based framework that can be used in client and server side.
- wind.js -
Executors
- npx - execute npm package binaries
Dependency Managers - Package managers
File watcher
- watchify - watch mode for browserify builds
Automation
- robotjs - Node.js Desktop Automation. http://robotjs.io
Websockets
- npmcompare: socket.io VS sockjs VS ws
- socket.io
- sockjs
- ws
Loggers
- consola - 🐨 Elegant Console Logger
- winston - A logger for just about everything. http://github.com/winstonjs/winston
TCP/IP
- turbo-net - Low level TCP library for Node.js
Schedulers
- Cronicle - A simple, distributed task scheduler and runner with a web based UI. http://cronicle.net
Frameworks
- nest - A progressive Node.js framework for building efficient and scalable server-side applications on top of TypeScript & JavaScript (ES6 / ES7 / ES8) heavily inspired by Angular :heart_eyes_catrocket: https://nestjs.com/
- adonis-framework - NodeJs Web Application Framework. Makes it easy for you to write webapps with less code 😃 http://adonisjs.com
- bigpipe - BigPipe is a radical new modular web pattern for Node.js http://www.bigpipe.io
REST API frameworks
- Express - Fast, unopinionated, minimalist web framework for Node.js
- hapijs.com - A rich framework for building applications and services
- loopback io <- NOTICE Don’t use it (At least v3)
- gitter
- loopback-mongo-aggregate-mixin - Aggregation Pipeline For MongoDB Loopback Connector
- loopback-component-mq - Loopback Component for working with a Message Queue
- fastify - Fast and low overhead web framework, for Node.js
- koa - Expressive middleware for node.js using ES2017 async functions http://koajs.com
- restify - The future of Node.js REST development
- actionhero - actionhero.js is a multi-transport nodejs API Server with integrated cluster capabilities and delayed tasks https://www.actionherojs.com
- totaljs - Node.js framework http://www.totaljs.com
- moleculer - rocket Fast & powerful microservices framework for Node.js https://moleculer.services/
- feathersjs - An open source REST and realtime API layer for modern applications.
- polka - ☂ TypeScript style guide, formatter, and linter.
Templating
- email-templates - 📫 Create, preview, and send custom email templates for Node.js. Highly configurable and supports automatic inline CSS, stylesheets, embedded images and fonts, and much more! https://email-templates.js.org
Testing
- sinonjs.org - Standalone test spies, stubs and mocks for JavaScript. Works with any unit testing framework.
- supertest - Super-agent driven library for testing node.js HTTP servers using a fluent API
Config management
- node-config - Node.js Application Configuration
CLI - Command line frameworks
- yargs - yargs the modern, pirate-themed successor to optimist. http://yargs.js.org/
- commander.js - node.js command-line interfaces made easy
- vorpal - Node’s framework for interactive CLIs http://vorpal.js.org
- prompts - Lightweight, beautiful and user-friendly interactive prompts
- enquirer - Stylish, intuitive and user-friendly prompt system.
- cli-table - Pretty unicode tables for the CLI with Node.JS
Static page generators
Object mapping
- node-object-mapper - Copy properties from one object to another.
Music players
- compactd
- YASCC - Yet Another SoundCloud Client http://carlosqsilva.github.io/YASCC
Process managers
- pm2 - Node.js Production Process Manager with a built-in Load Balancer. http://pm2.io/
Database Migration Tools
- node-db-migrate - Database migration framework for node
E-Commerce
- cezerin - React and Node.js based e-commerce platform.
Demos
- trellis: Trello clone / sample app for Automerge Persistance Library
- expressCart - A fully functioning Node.js shopping cart with Stripe, PayPal and Authorize.net payments. https://demo.expresscart.markmoffat.com
- can-i-eat-this - Save allergen preferences (such as peanut, lactose, or gluten-free), take a photo of any food product, and app returns if the product is safe for you to eat or not. https://ciethis.herokuapp.com/
Flux programming
- nact - Redux for backend
Build systems
Debugging nodejs in production
- leakage - 🐛 Memory leak testing for node.
- flamebearer - Blazing fast flame graph tool for V8 and Node 🔥
- turbolizer - Turbolizer tool from the v8 repository with added support to preload a profile https://thlorenz.github.io/turbolizer
- https://blog.risingstack.com/node-js-war-stories-solving-issues-in-production-2/
- https://medium.com/netflix-techblog/debugging-node-js-in-production-75901bb10f2d
Queue management
- housecall - A promise queue. Simple and sweet.
Performance
Support for ES2015
Browser automation
- browserless - High level automation API for working with Headless Chrome https://browserless.js.org
Yaml parsers
- js-yaml -
JavaScript YAML parser and dumper. Very fast. http://nodeca.github.com/js-yaml/
Job scheduling
- agenda - Lightweight job scheduling for Node.js http://agendajs.com
Load testing
- artillery - Flexible and powerful toolkit for load and functional testing. Test HTTP, Socket.io, WebSockets and more. Make your systems indestructible! woman_technologist european_castle https://artillery.io
URL shorteners
- elk-cli - 🌲🌲 Run your URL shortener (à la bit.ly) from the CLI using now
VNC
- node-vnc-snapshot - NodeJS VNC snapshot tool
Microservices
- pdf-microservice - Get the PDF version of a website as service. https://pdf.kikobeats.com
Snippets
Show unhandled erros
1 | process.on('unhandledRejection', (reason, p) => { |
Standard nodejs Dockerfile
1 | FROM node |