Skip to content

Local emulation of the Netlify platform

Notifications You must be signed in to change notification settings

netlify/primitives

Repository files navigation

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 -ws

Packages

Name Description Version
🗄️ @netlify/blobs TypeScript client for Netlify Blobs npm version
💾 @netlify/cache TypeScript utilities for interacting with the Netlify cache npm version
🛠️ @netlify/dev Emulation of the Netlify environment for local development npm version
🔧 @netlify/dev-utils TypeScript utilities for the local emulation of the Netlify environment npm version
@netlify/functions TypeScript utilities for interacting with Netlify Functions npm version
🔄 @netlify/redirects TypeScript implementation of Netlify's rewrites and redirects engine npm version
🏛️ @netlify/runtime Netlify compute runtime npm version
🔨 @netlify/runtime-utils Cross-environment utilities for the Netlify runtime npm version
📁 @netlify/static TypeScript implementation of Netlify's static file serving logic npm version
🔢 @netlify/types TypeScript types for Netlify platform primitives npm version
🔌 @netlify/vite-plugin Vite plugin with a local emulation of the Netlify environment npm version