## Index

### Functions

- acceptParams
- normalizeType
- normalizeTypes

## Functions

### Private acceptParams

- acceptParams(str: string): { params: any; quality: number; value: string }

- - Defined in home/runner/work/opine/opine/src/utils/normalizeType.ts:11

  Parse accept params `str` returning an object with `.value`, `.quality` and `.params`.

  #### Parameters

  - ##### str: string

  #### Returns { params: any; quality: number; value: string }

  - ##### params: any

  - ##### quality: number

  - ##### value: string

### Private Const normalizeType

- normalizeType(type: string): any

- - Defined in home/runner/work/opine/opine/src/utils/normalizeType.ts:35

  Normalize the given `type`, for example "html" becomes "text/html".

  #### Parameters

  - ##### type: string

  #### Returns any

### Private Const normalizeTypes

- normalizeTypes(types: string[]): any[]

- - Defined in home/runner/work/opine/opine/src/utils/normalizeType.ts:48

  Normalize `types`, for example "html" becomes "text/html".

  #### Parameters

  - ##### types: string[]

  #### Returns any[]

Generated using TypeDoc