Netlify Primitives
Implementation of different Netlify platform primitives. Includes both developer-facing utilities as well as the logic required for the local emulation of each primitive to aid local development workflows.
Installation
This monorepo uses npm workspaces.
Start by installing the dependencies:
npm install
You can then build all the packages:
npm run build --workspaces=true
Packages
Name | Description | Version |
---|---|---|
🗄️ @netlify/blobs | TypeScript client for Netlify Blobs | |
💾 @netlify/cache | TypeScript utilities for interacting with the Netlify cache | |
🛠️ @netlify/dev | Emulation of the Netlify environment for local development | |
🔧 @netlify/dev-utils | TypeScript utilities for the local emulation of the Netlify environment | |
⚡ @netlify/functions | TypeScript utilities for interacting with Netlify Functions | |
📋 @netlify/headers | TypeScript implementation of Netlify's headers engine | |
🔍 @netlify/otel | TypeScript utilities to interact with Netlify's OpenTelemetry | |
🔄 @netlify/redirects | TypeScript implementation of Netlify's rewrites and redirects engine | |
🏛️ @netlify/runtime | Netlify compute runtime | |
🔨 @netlify/runtime-utils | Cross-environment utilities for the Netlify runtime | |
📁 @netlify/static | TypeScript implementation of Netlify's static file serving logic | |
🔢 @netlify/types | TypeScript types for Netlify platform primitives | |
🔌 @netlify/vite-plugin | Vite plugin with a local emulation of the Netlify environment |