swr

(★ 32,465)

React Hooks for Data Fetching

File Explorer

  • .editorconfig
  • .gitignore
  • .npmrc
  • .oxfmtrc.json
  • .oxlintrc.json
  • .swcrc
  • jest.config.build.js
  • jest.config.js
  • LICENSE
  • package.json
  • pnpm-lock.yaml
  • pnpm-workspace.yaml
  • README.md
  • tsconfig.json

# Installation Guide

node
Prerequisites

Setup Steps

pnpm install

Install all project dependencies.

pnpm build

Build the project for production and usage.

pnpm test

Run the test suite to verify correct functionality.

Key Commands

pnpm install

Install project dependencies using pnpm.

pnpm build

Build the library source code.

pnpm test

Run unit and integration tests.

This project uses a monorepo structure and relies on pnpm for package management.

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Release Timeline

Actively Maintained
// repository documentation