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
When working on the packages, it can be helpful to have them rebuild on change:
npm run dev
Packages
| Name | Description | Version |
|---|---|---|
| @netlify/ai | TypeScript utilities for interacting with Netlify AI features | |
| @netlify/aws-lambda-compat | AWS Lambda compatibility wrapper for Netlify Functions | |
| @netlify/blobs | TypeScript client for Netlify Blobs | |
| @netlify/cache | TypeScript utilities for interacting with the Netlify cache | |
| @netlify/database | TypeScript client for interacting with Netlify's managed database | |
| @netlify/dev | Emulation of the Netlify environment for local development | |
| @netlify/dev-utils | TypeScript utilities for the local emulation of the Netlify environment | |
| @netlify/edge-functions | TypeScript utilities for interacting with Netlify Edge Functions | |
| @netlify/functions | TypeScript utilities for interacting with Netlify Functions | |
| @netlify/headers | TypeScript implementation of Netlify's headers engine | |
| @netlify/identity | TypeScript utilities for interacting with Netlify Identity | |
| @netlify/images | TypeScript utilities for interacting with Netlify Image CDN | |
| @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 |