6.0.3 • Published 6 months ago

@types/hapi__content v6.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for @hapi/content 6.0
// Project: https://github.com/hapijs/subtext#readme
// Definitions by: Sebastian Malton <https://github.com/nokel81>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/// <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 Jun 2022 20:31:34 GMT
  • Dependencies: @types/node
  • Global values: none

Credits

These definitions were written by Sebastian Malton.

6.0.1

8 months ago

6.0.3

6 months ago

6.0.2

7 months ago

6.0.0

2 years ago