universal-javascript-runtimes

Community

Run JavaScript anywhere with universal runtimes.

AuthorKinfe123
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill clarifies how to write JavaScript that runs across diverse runtimes (Node.js, Cloudflare Workers, Deno, Bun, and other edge/serverless environments) by embracing web standards and adapters, eliminating runtime fragmentation.

Core Features & Use Cases

  • Web standards-based portability: Use Fetch, Request, Response, URL, Streams, and Web Crypto to write code that works on all target runtimes.
  • Adapters and polyfills: Leverage Nitro/H3 style adapters and unenv polyfills to bridge differences between server and edge environments.
  • Use cases: Build cross-runtime APIs, edge functions, and universal libraries that deploy to cloud functions, edge networks, and traditional servers.

Quick Start

Create a minimal universal app using Nitro and H3, choose a target preset (Node.js, Cloudflare, Deno, or Bun), and implement a basic HTTP handler that uses web standards. Then integrate unenv polyfills where necessary and test across supported environments.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: universal-javascript-runtimes
Download link: https://github.com/Kinfe123/fm-skills/archive/main.zip#universal-javascript-runtimes

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.