@netlify/types
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

@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.

Readme

Keywords

none

Package Sidebar

Install

npm i @netlify/types

Weekly Downloads

139

Version

1.1.1

License

MIT

Unpacked Size

5.02 kB

Total Files

4

Last publish

Collaborators

  • seanroberts
  • biilmann
  • eduardoboucas
  • netlify-bot
  • sarahetter
  • mikewen
  • kathmbeck
  • hrishikeshk
  • vitaliyr
  • denar90
  • smnh
  • berdav
  • youvalv
  • serhalp-netlify
  • rmulligan-netlify
  • akardet