In this article we will explore the most awesome NodeJS libraries, examples, apps as well as resources. All of them are open source. The packages are organized based on their respective categories.[lwptoc]
Streaming torrent client for Node.js and the browser.
Streaming torrent client.
Distributed file system that seeks to connect all computing devices with the same system of files.
Open software ecosystem for WebGL, built on top of browserify and npm.
All of Wikipedia on BitTorrent.
Stream a torrent video to Chromecast.
Clean, readable, proven Bitcoin library.
Pure and powerful Bitcoin library.
PDF generation library.
Modular geospatial processing and analysis engine.
p2p pipe across the web using WebRTC that uses your GitHub private/public key for authentication.
The first operating system powered by npm.
AI operating system.
Front-end algorithm framework to create a machine learning pipeline.
Graph theory (a.k.a. network
Pure JS Excel spreadsheet reader and writer.
Check a package name’s availability on npm.
Open the GitHub page of the repo in the current directory.
Open the npm page of a package.
Safer alternative to
Test your internet connection speed and ping.
Capture website screenshots.
More better top, with nice charts.
Empty the trash.
Check whether a website is up or down.
Check if the internet connection is up.
Get your public IP address.
Copy & paste on the terminal.
Tells you when your package npm dependencies are out of date.
Simple, zero-config command-line HTTP server.
Development HTTP-server with livereload capability.
Pipe command output to web browsers.
Google Translate with speech synthesis in your terminal.
Fabulously kill processes. Cross-platform.
Check licenses of your app’s dependencies.
Easily run code in a browser environment.
Adds stdin support to any CLI app that accepts file input.
Get the current wifi password.
Change the desktop wallpaper.
Live Markdown preview in the browser from your favorite editor.
Toggle the macOS Dark Mode.
Pretty prints JSON with configurable colors and indentation.
Mobile app icon generator.
Mobile app splash screen generator.
Pretty git diff to HTML generator.
Try out npm packages in the terminal.
Copy/paste detector for source code.
Server-side API mocking.
Auto installs dependencies as you code.
Markdown in the terminal.
Find out which dependencies are slowing you down.
Expose your localhost to the world.
Share terminal sessions via SVG.
System monitoring dashboard for the terminal.
Generate themes for your editor, terminal, wallpaper, Slack, and more.
Beautiful images of your code — from right inside your terminal.
Convert between 170 currencies.
Tasks, boards & notes for the command-line habitat.
Easily deploy static websites to Amazon S3.
Easily find and remove old and heavy node_modules folders.
Utility library delivering consistency, customization, performance, & extras. A better and faster Underscore.js.
Immutable data collections.
Utility library with a focus on flexible functional composition enabled by automatic currying and reversed argument order. Avoids mutating data.
Utility library with the biggest difference between other existing solutions is that you can choose to load only the modules/functions that you need, no extra overhead.
Functional reactive library for transforming, composing, and querying various kinds of data.
Reactive library with focus on high performance and low memory usage.
Nicer interface to the built-in
High performance HTTP client written from scratch with zero dependencies.
Universal HTTP client based on Fetch.
window.fetch for Node.js.
Promise based HTTP client (works in the browser too
HTTP request library.
Wrap native HTTP requests with RFC compliant cache support.
GraphQL request library built on [got](https://github.com/sindresorhus/got
Global HTTP/HTTPS proxy agent that is configurable using environment variables.
File-based HTTP mock server with recording abilities.
Debugging / Profiling
Tiny debugging utility.
Node.js is running but you don’t know why?
Instrument and trace your code, see all function calls, arguments, return values, as well as the time spent in each function.
Instrumentable streams mix-ins to inspect a pipeline of streams.
Enhance an error stacktrace with code excerpts and other goodies.
Starts a REPL at runtime that has access to all variables.
Well-formatted and improved trace system calls and signals.
Write memory leak tests.
Post-mortem analysis tool which allows you to inspect objects and get insights from a crashed Node.js process.
Capture different CPU, memory, and other profiles for your app in Chrome DevTools friendly format.
Trace API calls and monitor API performance, health, and usage metrics.
Manages DevTools debugging workflow.
Minimalistic and zero-dependencies [StatsD](https://github.com/statsd/statsd
Extremely fast logger inspired by Bunyan.
Multi-transport async logging library.
The most simple logger imaginable with support for log levels and custom prefixes.
End-to-end, hierarchical, real-time, colorful logs and stories.
Terminal string styling done right.
CLI app helper.
Command-line parser that automatically generates an elegant user-interface.
Elegant terminal spinner.
Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.
React for interactive command-line apps.
Terminal task list.
Simple config handling for your app or module.
ANSI escape codes for manipulating the terminal.
Colored symbols for various log levels.
Unicode symbols with Windows CMD fallbacks.
Create boxes in the terminal.
Create clickable links in the terminal.
Display images in the terminal.
Get the visual width of a stringthe number of columns required to display it.
Truncate a string to a specific width in the terminal.
Interactive command-line prompt.
Parse yes/no like values.
Pretty unicode tables.
Draw on the terminal with unicode braille characters.
ASCII bar chart in the terminal.
Flexible ascii progress bar.
Helps you understand how your tool is being used by anonymously reporting usage metrics to Google Analytics.
Toggle the CLI cursor.
Columnated unicode and ansi-safe text lists.
Sexy ASCII fonts for the console.
Multiple, simultaneous, individually controllable CLI spinners.
Shell autocompletion helper.
Set environment variables cross-platform.
Portable Unix shell commands.
Block users from running your app with root permissions.
Create, maintain, find and use small modules and components across repositories.
Beautiful color gradients in terminal output.
CLI framework complete with parser, automatic documentation, testing, and plugins.
Reliably get the terminal window size.
Framework for interactive CLIs.
Blazing fast, zero config web app bundler.
Packs modules and assets for the browser.
Next-generation ES2015 module bundler.
Streaming and fast build system that favors code over config.
Fast, reliable asset pipeline, supporting constant-time rebuilds and compact build definitions.
Front-end web app build tool with simple declarative config, fast incremental compilation, and an opinionated workflow.
Fast build system that combines the power of webpack, JSPM and SystemJS, with first-class TypeScript support.
Package your Node.js project into an executable.
Firmata based Arduino Framework.
Access serial ports for reading and writing.
I2C serial bus access.
GPIO access and interrupt detection.
SPI serial bus access.
Fast GPIO, PWM, servo control, state change notification, and interrupt handling on the Raspberry Pi.
NMEA parser for handling GPS receivers.
HTML-based templating engine that compiles templates to CommonJS modules and supports streaming, async rendering and custom tags.
Templating engine with inheritance, asynchronous control, and more (jinja2 inspired
Superset of Mustache templates which adds powerful features like helpers and more advanced blocks.
Simple unopinionated templating language.
High-performance template engine heavily influenced by Haml.
Fast and low overhead web framework.
Minimalistic framework for server-rendered Vue.js apps.
Framework for building applications and services.
Minimalistic microservice framework with an async approach.
Framework designed by the team behind Express, which aims to be a smaller, more expressive, and more robust foundation for web applications and APIs.
Web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications.
Microservice framework built in the spirit of Express.
Powerful framework for creating REST APIs and easily connecting to backend data sources.
Enables you to build correct REST web services.
Framework with ES2015+ support, WebSockets, REST API.
Framework for making reusable & scalable APIs for TCP sockets, WebSockets, and HTTP clients.
Toolkit for writing microservices.
A true MVC framework for Node.js built on solid foundations of Dependency Injection and IoC container.
Fast & powerful microservices framework.
Angular-inspired framework for building efficient and scalable server-side apps.
Modern framework for creating GraphQL APIs with TypeScript, using classes and decorators.
Modern and fast Express-like web framework.
Functional reactive framework for building server-side apps, based on TypeScript and RxJS.
Framework made by a former Express TC and Koa member that bundles web, API, job, and proxy servers.
Intituive TypeScript framework for building server-side apps on top of Express.js or Koa.js.
API documentation generator with support for ES2015+ and flow annotation.
Documentation generator which produces an HTML document that displays your comments intermingled with your code.
API documentation generator similar to JavaDoc or PHPDoc.
Documentation website generator that leverages React and Markdown, and comes with translation and versioning features.
Delete files/folders using globs.
Glob files with support for multiple patterns.
Filesystem watcher which stabilizes events from
fs.watchFile as well as using native
fsevents on macOS.
Find a file by walking up parent directories.
Inter-process and inter-machine lockfile utility.
Read and parse a JSON file.
Stringify and write JSON to a file atomically.
Convert a string to a valid filename.
Force create symlinks like
Check if a file is text or binary.
Completely redesigned file system API for convenience in everyday use.
Extra methods for the
Find the root directory of an npm package.
Flexible and fluent interface for searching the file system.
Move a file, even works across devices.
Get a random temporary file or directory path.
Promisify a callback-style function.
Delay a promise a specified amount of time.
Memoize promise-returning functions, with expire and prefetch.
Limit the execution rate of a promise-returning function.
Map over promises concurrently.
Convert an Observable to a Promise.
Get a stream as a string or buffer.
Convenience wrapper for ReadableStream, inspired by
Convert a buffer/string/array/object into a stream.
Turn a writeable and readable stream into a single streams2 duplex stream.
Combine an array of streams into a single duplex stream.
Transform stream that lets you peek the first line before deciding how to parse it.
Newline (or any delimiter
Super-simple line-by-line Stream reader.
Transform the first chunk in a stream.
Pad each line in a stream.
Combine multiple streams into a single stream.
Turn a pipeline into a single stream.
Mirror of Streams2 and Streams3 implementations in core.
Transform object streams concurrently.
Highly scalable WebSocket server & client library.
Enables real-time bidirectional event-based communication.
Real-time client-server message bus, based on Bayeux protocol.
Scalable HTTP + WebSocket engine which can run on multiple CPU cores.
An abstraction layer for real-time frameworks to prevent module lock-in.
Scalable real-time microservice framework.
Low-level socket router and middleware framework.
Client for MQTTPub-sub based messaging protocol for use on top of TCP/IP.
JSON-RPC 2.0 implementation over WebSockets.
Barebone MQTT server that can run on any stream server.
The fastest module for resizing JPEG, PNG, WebP and TIFF images.
Detect the image type of a Buffer/Uint8Array.
GraphicsMagick and ImageMagick wrapper.
Lightweight image processor which does not require ImageMagick.
High quality & fast resize (lanczos3
Get the size of most image formats without a full download.
QR code and bar code generator.
Convert character encodings.
Get the real length of a stringby correctly counting astral symbols and ignoring ansi escape codes.
Convert a dash/dot/underscore/space separated string to camelCase: foo-bar → fooBar.
Escape RegExp special characters.
Remove or replace part of a string like
Indent each line in a string.
Strip leading whitespace from every line in a string.
Detect the indentation of code.
HTML entity encoder/decoder.
Simple translation module with dynamic JSON storage.
i18n with very easy syntax for plurals.
Simple wildcard matching.
Normalize visually similar unicode characters.
Tiny, secure, URL-friendly, unique string ID generator.
Conceal secrets within strings, in plain sight.
Generate a random integer.
Generate a random float.
Generate random numbers that are consecutively unique.
Round a number to a specific number of decimal places:
An extensive math library.
Clamp a number.
Core to create fast image math in WebAssembly and JS.
Library for working with dates and times.
Modern date utility.
Immutable date library alternative to Moment.js.
Format a date with timezone:
Fast parsing, formatting, and timezone conversation for dates.
Normalize a URL.
Humanize a URL: [https://sindresorhus.com](https://sindresorhus.com
Expand shortened URLs.
Generate a slug from a string with transliteration.
Link patterns detector with full unicode support.
Easier than regex string matching patterns for URLs and other strings.
Create HTML snippets/embeds from URLs using info from oEmbed, Open Graph, meta tags.
JSON Schema validator that uses code generation to be extremely fast.
Easy property validation for Express.
JSON API sanitization and validation.
The fastest JSON Schema validator. Supports v5, v6 and v7 proposals.
Markdown processor powered by plugins.
Markdown parser with 100% CommonMark support, extensions and syntax plugins.
Fast full-featured spec compliant HTML parser.
A CSS parser, transformer, and minifier written in Rust.
Strip comments from JSON.
Strip comments from CSS.
Parse JSON with more helpful errors.
Streaming JSON.parse and stringify.
Fast CSV parser. Callback interface for the above.
Streaming CSV parser that aims to be faster than everyone else.
Simple parser generator that produces fast parsers with excellent error reporting.
Web scraping utility.
Extract a value from a buffer of JSON without parsing the whole thing.
Parse, manipulate and convert modern CSS to make it compatible with all browsers. Extensible with plugins.
Very fast YAML parser.
Parse, format, store and validate phone numbers.
Read/write structured binary data in Buffers.
Read/write Excel XLSX.
Validate and parse XML.
Convert bytes to a human readable string:
Convert milliseconds to a human readable string:
15d 11h 23m 20s.
Tiny millisecond conversion utility.
Errors with less clutter.
Extract readable content from any page.
Streaming interface for archive generation, supporting ZIP and TAR.
High speed zlib port to pure js (deflate, inflate, gzip
Streaming tar parser and generator. Also see [tar-fs](https://github.com/mafintosh/tar-fs
Decompression module with support for
zip files out of the box.
Get an available port.
Get your public IP address.
Get the computer MAC address.
DHCP client and server.
Netcat port in pure JS.
- ODM / ORM
Multi-dialect ORM. Supports PostgreSQL, SQLite, MySQL, and more.
ORM for PostgreSQL, MySQL and SQLite3 in the style of Backbone.js.
Elegant MongoDB object modeling.
Datastore-agnostic tool that dramatically simplifies interaction with one or more databases.
ORM for PostgreSQL, MySQL, SQLite3 and RESTful datastores. Similar to ActiveRecord.
PostgreSQL framework for native SQL using promises.
PostgreSQL client with strict types, detailed logging and assertions.
Lightweight ORM built on the SQL query builder Knex.
ORM for PostgreSQL, MariaDB, MySQL, SQLite, and more.
TypeScript ORM based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, PostgreSQL, MySQL and SQLite.
Modern database access (ORM alternative
- Query builder
Query builder for PostgreSQL, MySQL and SQLite3, designed to be flexible, portable, and fun to use.
Simple key-value storage with support for multiple backends.
RESTful endpoint generator for your Sequelize models.
Wrapper for multiple databases with a JDBC-like connection.
* [Mongo Seeding](https://github.com/pkosiec/mongo-seeding)
Query PostgreSQL, MySQL and SQLite3 with plain SQL without risking SQL injection.
In-memory PostgreSQL instance for your tests.
Futuristic test runner.
Feature-rich test framework making asynchronous testing simple and fun.
Code coverage tool built on istanbul that works with subprocesses.
TAP test framework.
TAP-producing test harness.
Provides descriptive assertion messages through the standard assert interface.
TDD with Browserify, Mocha, PhantomJS and WebDriver.
Run tests against multiple versions of Node.js without switching versions manually or pushing to Travis CI.
Run load tests for your web application, with an API for automation.
Test spies, stubs and mocks.
PhantomJS / SlimerJS wrapper to simplify browser test scripting.
HTTP mocking and expectations.
Code testing stack.
Hackable HTTP proxy to simulate failure scenarios and network conditions.
Hook and modify stdout/stderr.
Run tests for multiple versions of Node.js locally with NVM.
Automated UI testing framework based on Selenium WebDriver.
Automated testing based on the WebDriver protocol.
Automated browser testing.
Continuous Integration server.
Headless Chromium, WebKit, and Firefox with a single API.
Run any command on multiple versions of Node.js locally.
Accessibility engine for automated Web UI testing.
Provides lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
Unified API for all password hashing algorithms.
Multilanguage framework for making typical encryption schemes easy to use: data at rest, authenticated data exchange, transport protection, authentication, and so on.
GitHub app that provides security feedback in pull requests.
Brute-force and DDoS attack protection.
Async non-blocking hashing.
Encryption and decryption of data using the JOSE (JSON Object Signing and Encryption
Benchmarking library that supports high-resolution timers and returns statistically significant results.
ES2015+ aware minifier based on the Babel toolchain.
Simple, unobtrusive authentication.
OAuth providers for Express, Koa, Hapi, Fastify, AWS Lambda, Azure, Google Cloud, Vercel, and many more.
Isomorphic authorization for UI and API.
Authorization library that supports access control models like ACL, RBAC and ABAC.
The fastest way to handle email.
Send text/HTML emails with attachments to any SMTP server.
Create, preview, and send custom email templates.
Markup language designed to reduce the pain of creating responsive emails.
Persistent job and message queue.
MongoDB-backed job scheduling.
Redis-backed job queue engine with advanced job control.
Redis-backed job queue.
Redis-backed message queue.
High-performance Redis-backed job queue.
Simple high-performance Redis message queue with real-time monitoring.
Build Amazon Simple Queue Service (SQS
Simple and efficient job queue when you cannot use Redis.
Node.js version management.
Virtual Environments for Node.js.
Node.js virtual environment compatible to Python’s virtualenv.
Version management for Windows.
Version manager that is similar to Ruby’s rbenv. It supports auto version switching.
Cross-platform Node.js version manager built in Rust.
Natural language processing
An extensible natural language system.
Detect the language of text.
Measure the difference between two strings using the Levenshtein distance algorithm.
Natural language facility.
Building bots, with entity extraction, sentiment analysis, automatic language identify, and more.
Advanced Process Manager.
Monitor for changes in your app and automatically restart the server.
Run scripts as a native Mac daemon and log to the console app.
Run scripts as native system service and log to syslog.
Run scripts as a native Windows service and log to the Event viewer.
Restart scripts when they crash or restart when a
*.js file changes.
Friendly process manager that integrates directly into Nginx.
Desktop Automation: control the mouse, keyboard and read the screen.
Cross-platform native GUI automation / testing framework with image matching capabilities which integrates with Jest.
Static site generators
Static site generator with dynamic abilities and huge plugin ecosystem.
Markdown documentation site generator with no statically built HTML files.
Opinionated, zero-config static site generator using JSX and MDX.
Content management systems
CMS and web application platform built on Express and MongoDB.
Content management system with an emphasis on intuitive front end content editing and administration built on Express and MongoDB.
Content Management Framework (headless-CMS
Vue.js dashboard framework and headless CMS.
Auto-generated admin panel with CRUD for all your resources.
Forum platform for the modern web.
Simple, powerful publishing platform.
Fast, simple and powerful blogging framework.
Get superb like words.
Get popular cat names.
Get popular dog names.
Get superhero names.
Get supervillain names.
Get some cool ascii faces.
`₍˄·͈༝·͈˄₎◞ ̑̑ෆ⃛ (=ↀωↀ=
Get data from nerdy topics like Harry Potter, Star Wars, and Pokémon.
Native bindings for Google’s Snappy compression library.
Implementation of Protocol Buffers.
Implementation of the Compactr protocol.
Fast, flexible, and lean implementation of core jQuery designed specifically for the server.
Opens stuff like websites, files, executables.
Hashing made simple. Get the hash of a buffer/string/stream/file.
Get a property from a nested object using a dot path.
Only run a function once.
Memoize functionsan optimization technique used to speed up consecutive function calls by caching the result of calls with identical input.
Strip UTF-8 byte order mark (BOM
Get the system locale.
SSH2 client and server module.
SSH tunneling made simple.
Detect the file type of a Buffer.
Rate limiter that makes throttling easy.
Function argument validation for humans.
Lightweight Web Worker API implementation with native threads.
Access the system clipboard (copy/paste
Makes it easy to publish and install Node.js C++ addons from binaries.
Bindings for OpenCV. The defacto computer vision library.
Load environment variables from .env file.
Semantic version parser.
Native bindings to Git.
Safely serialize a value to JSON without data loss or going into an infinite loop.
Type check values.
Get, set, or delete nested properties of process.env using a dot path.
Simple and modern async event emitter.
Automatically generate a native Node.js addon from C++ code.
Create Git hook scripts.
Make and preserve fixes to npm dependencies.
Declarative video editing API.