JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 291970
  • Score
    100M100P100Q176806F
  • License MIT

TypeScript definitions for the Netlify platform

Package Exports

  • @netlify/types
  • @netlify/types/dist/main.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@netlify/types) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@netlify/types

npm version

TypeScript types for Netlify platform primitives.

Installation

npm install @netlify/types

Requirements

  • Node.js 16.0.0 and above

Usage

This package provides TypeScript type definitions for various Netlify platform primitives. Import the types you need in your TypeScript code:

import type { Context } from '@netlify/types'
import type { NetlifyGlobal } from '@netlify/types'

Types

The package includes TypeScript definitions for:

  • Context: Type definitions for Netlify's context object
  • NetlifyGlobal: Type definitions for Netlify's global variables

Contributing

Contributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request.