Built something? We create video reels & spotlights for GitHub projects.Promote your project →
libp2p
Home / TypeScript / js-libp2p

libp2p/js-libp2p

A JavaScript Implementation of libp2p networking stack.

TypeScript ◇ ipfs Apache-2.0
★2.6KSTARS
⑂550FORKS
!115ISSUES
🏆#2,707GLOBAL RANK
🔥1DAYS TRENDING
🚀
Maintainer Growth Kit for js-libp2p

Claim this project, add your verified backlink badge to your README, and download milestone cards.

Claim Repo

Star History

Continuous Observations
Interactive star growth chart for libp2p/js-libp2p
CSV
⭐ VIRAL README KIT

Add Live Star History & Verified Badges to README.md

Keep your repository README looking professional and dynamic. As our continuous crawler records new stars, these official SVG badges update in real time with zero maintenance.

Open README on GitHub ↗
Option 1: Interactive Star History Chart Dynamic SVG

Renders your high-resolution star trajectory chart right inside your GitHub README or project docs.

libp2p/js-libp2p Star History Preview
markdown
[![Star History Chart](https://githubrepo.cloud/api/badge/chart/libp2p/js-libp2p.svg?theme=dark)](https://githubrepo.cloud/repo/libp2p/js-libp2p?utm_source=readme_chart)
Direct SVG Link ↗
Option 2: Verified Shields Badges Shields.io Style

Compact Shields-style badges for your README header. Shows real-time stars and global ranking.

Featured badge Stars badge Rank badge
markdown (badge trio)
[![Featured on GitHubRepo.cloud](https://githubrepo.cloud/badge/libp2p/js-libp2p.svg?metric=featured)](https://githubrepo.cloud/repo/libp2p/js-libp2p?utm_source=readme_badge) [![GitHubRepo Stars](https://githubrepo.cloud/badge/libp2p/js-libp2p.svg?metric=stars)](https://githubrepo.cloud/repo/libp2p/js-libp2p?utm_source=readme_badge) [![Global Rank](https://githubrepo.cloud/badge/libp2p/js-libp2p.svg?metric=rank)](https://githubrepo.cloud/repo/libp2p/js-libp2p?utm_source=readme_badge)

Momentum

+65

STARS · LAST 30 DAYS

2

PER DAY

#365

MOST-STARRED TypeScript

Window7 days30 days90 days
Stars gained+14+65+180
Per day222
Forks gained+3+11+28

js-libp2p gained 65 stars in the last 30 days, about 2 a day, and now has 2.6K. It is about 11 years old and has averaged roughly 235 stars a year. It ranks #365 among TypeScript repositories and #2,707 across all languages on GitHubRepo.

Trending Record

js-libp2p has maintained a continuous presence across global trending indexes, peaking at #4028. Below is the 30-day activity profile:

💡 Overview

js-libp2p is an open-source project written in TypeScript: A JavaScript Implementation of libp2p networking stack.

Engineered for speed, consistency, and developer ease, it solves common hurdles in ipfs, js-ipfs, libp2p. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.

⚡ Key Features

1

Optimized execution pipeline written in TypeScript for predictable speed.

2

Zero-friction configuration with comprehensive sensible defaults out of the box.

3

Cross-platform runtime support across Linux, macOS, and Windows environments.

4

Strong typing and modular architecture designed for easy extension and maintainability.

5

Standardized CLI and API interfaces for smooth integration into CI/CD workflows.

6

Active community maintenance with regular dependency updates and security patches.

📥 Installation

terminal
$ npm install js-libp2p

⚙ System Requirements

Platforms

  • • macOS
  • • Linux
  • • Windows

Runtime & Dependencies

Node.js >= 18, npm, pnpm or bun

Architecture

x86_64, ARM64 (Apple Silicon & Graviton)

🧠 How It Works

js-libp2p coordinates its core functionality through a modular TypeScript pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.

🎯 Production Use Cases

Production System Integration

Embed js-libp2p into TypeScript backend services to handle core application logic.

CI/CD Automated Pipelines

Run automated validation, builds, and integration suites during deployments.

Developer Tooling & Workflows

Accelerate developer onboarding with pre-configured project utilities.

Open Source Extension

Fork and customize internal modules under the repository's open Apache-2.0 license.

🚀 Getting Started

1

Install js-libp2p using your package manager: `npm install js-libp2p`

2

Initialize your project workspace or configuration file for js-libp2p.

3

Import js-libp2p into your codebase or invoke it directly from your terminal.

4

Execute your test suite or run `js-libp2p --help` to verify successful setup.

👍 Strengths

Active community backing with 2,581 GitHub stars and verified adoption.
Permissive open-source distribution under the Apache-2.0 license.
Built in TypeScript for high execution speed and developer familiarity.
Cross-platform compatibility across modern Linux, macOS, and Windows environments.
Clean modular design allowing flexible configuration and pipeline integration.

⚠️ Considerations

Requires familiarity with TypeScript and modern CLI workflows.
Ecosystem extensions may require manual configuration depending on environment constraints.
Active development roadmap means breaking API changes may occur across major versions.

⇄ Alternatives & Direct Competitors

F
freeCodeCamp/freeCodeCamp ★ 456.6K TypeScript

freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.

Compare ↗
D
deepseek-ai/deepseek-harness ★ 241.6K TypeScript

DeepSeek Harness: Everything is a Plugin.

Compare ↗
V
vuejs/vue ★ 212.8K TypeScript

This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core

Compare ↗
O
anomalyco/opencode ★ 211.5K TypeScript

The open source coding agent.

Compare ↗

👥 Who Should Use This

Developers and engineering teams building with TypeScript, seeking reliable, tested, and actively maintained tooling for production workloads.

🏆 Nearby in the Rankings

libp2p/js-libp2p is currently ranked #2,707 by stars across every repository tracked on GitHubRepo. These are adjacent projects:

RankRepositoryLanguageStarsAction
#2,702 Cleanuparr/Cleanuparr C# ★ 2.6K Compare ↗
#2,703 matrix-construct/tuwunel Rust ★ 2.6K Compare ↗
#2,704 symfony/translation-contracts PHP ★ 2.6K Compare ↗
#2,704 aanand/git-up Ruby ★ 2.6K Compare ↗
#2,706 beancount/fava Python ★ 2.6K Compare ↗
#2,707 libp2p/js-libp2p This Project TypeScript ★ 2.6K
#2,707 superhighfives/pika Swift ★ 2.6K Compare ↗
#2,709 Rion-Wu-tech/wechat-intelligence-hub Python ★ 2.6K Compare ↗
#2,710 chrisbanes/haze Kotlin ★ 2.6K Compare ↗
#2,711 scverse/scanpy Python ★ 2.6K Compare ↗
#2,711 git-cola/git-cola Python ★ 2.6K Compare ↗

Frequently Asked Questions

What does js-libp2p do? +

A JavaScript Implementation of libp2p networking stack.

What language is js-libp2p written in? +

The primary language is TypeScript. Topics include: ipfs, js-ipfs, libp2p, networking-stack, p2p.

Is js-libp2p actively maintained? +

Yes, the last recorded push was on Oct 5, 2026 with 115 open issues being tracked.

How many stars does js-libp2p have? +

js-libp2p has 2,581 stars and 550 forks on GitHub.

How does js-libp2p rank among GitHub repositories? +

With 2,581 stars, libp2p/js-libp2p is ranked #2,707 globally across all repositories tracked on GitHubRepo and #365 among TypeScript projects.

What license is js-libp2p distributed under? +

The repository reports a Apache-2.0 license. Always verify the repository LICENSE file for legal terms.

From our network
FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.