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

planetscale/database-js

A Fetch API-compatible PlanetScale database driver

TypeScript ◇ database Apache-2.0
★1.2KSTARS
⑂43FORKS
!19ISSUES
🏆#2,408GLOBAL RANK
🔥6DAYS TRENDING
🚀
Maintainer Growth Kit for database-js

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 planetscale/database-js
CSV

Momentum

+30

STARS · LAST 30 DAYS

1

PER DAY

#296

MOST-STARRED TypeScript

Window7 days30 days90 days
Stars gained+7+30+90
Per day111
Forks gained+1+3+10

database-js gained 30 stars in the last 30 days, about 1 a day, and now has 1.2K. It is about 4 years old and has averaged roughly 302 stars a year. It ranks #296 among TypeScript repositories and #2,408 across all languages on GitHubRepo.

Trending Record

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

💡 Overview

database-js is an open-source project written in TypeScript: A Fetch API-compatible PlanetScale database driver.

Engineered for speed, consistency, and developer ease, it solves common hurdles in database, edge-computing, mysql. 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 database-js

⚙ 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

database-js 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

High-Throughput Storage

Persist and retrieve structured data records with minimal latency and high concurrency.

In-Memory Caching

Accelerate application response times by caching frequently queried database entities.

Analytical Queries

Run aggregate metrics and point lookups across large sets of records.

Distributed Replication

Synchronize state across multiple cluster nodes with strong consistency guarantees.

🚀 Getting Started

1

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

2

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

3

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

4

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

👍 Strengths

Active community backing with 1,206 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

💡
Open Source Alternative to Vercel Replaces proprietary subscriptions ($20/user/month + expensive bandwidth & function overages) with self-hosted freedom.
Explore all Vercel alternatives →
F
freeCodeCamp/freeCodeCamp ★ 456.3K TypeScript

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

Compare ↗
D
deepseek-ai/deepseek-harness ★ 237.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 ★ 210.4K 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

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

RankRepositoryLanguageStarsAction
#2,401 ZHangZHengEric/Sage Python ★ 1.2K Compare ↗
#2,404 symfony/ai PHP ★ 1.2K Compare ↗
#2,405 pytroll/satpy Python ★ 1.2K Compare ↗
#2,405 cryptomator/android Kotlin ★ 1.2K Compare ↗
#2,405 thunderbird/thunderbird-ios Swift ★ 1.2K Compare ↗
#2,408 planetscale/database-js This Project TypeScript ★ 1.2K
#2,408 newrelic/newrelic-ruby-agent Ruby ★ 1.2K Compare ↗
#2,408 drhelius/Gearboy C++ ★ 1.2K Compare ↗
#2,408 ycdxsb/PocOrExp_in_Github Python ★ 1.2K Compare ↗
#2,408 orhun/rustypaste Rust ★ 1.2K Compare ↗
#2,408 suzuki-shunsuke/pinact Go ★ 1.2K Compare ↗

Frequently Asked Questions

What does database-js do? +

A Fetch API-compatible PlanetScale database driver

What language is database-js written in? +

The primary language is TypeScript. Topics include: database, edge-computing, mysql, serverless, vercel.

Is database-js actively maintained? +

Yes, the last recorded push was on Sep 24, 2026 with 19 open issues being tracked.

How many stars does database-js have? +

database-js has 1,208 stars and 43 forks on GitHub.

How does database-js rank among GitHub repositories? +

With 1,208 stars, planetscale/database-js is ranked #2,408 globally across all repositories tracked on GitHubRepo and #296 among TypeScript projects.

What license is database-js 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.