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

6.0.3 • Public • Published

Installation

npm install --save @types/hapi__content

Summary

This package contains type definitions for @hapi/content (https://github.com/hapijs/subtext#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hapi__content.

index.d.ts

/// <reference types="node" />

export interface ContentType {
    mime: string;
    charset?: string;
    boundary?: string;
}

export function type(header: string | undefined): ContentType;

export interface ContentDisposition {
    name: string;
    filename: string;
}

export function disposition(header: string | undefined): ContentDisposition;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Sebastian Malton.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/hapi__content

Weekly Downloads

245

Version

6.0.3

License

MIT

Unpacked Size

3.35 kB

Total Files

5

Last publish

Collaborators

  • types