@types/caseless

  • Version 0.12.5
  • Published
  • 4.72 kB
  • No dependencies
  • MIT license

Install

npm i @types/caseless
yarn add @types/caseless
pnpm add @types/caseless

Overview

TypeScript definitions for caseless

Index

Functions

function caseless

caseless: typeof caseless;

    function httpify

    httpify: (resp: object, headers: RawDict) => Caseless;

      Interfaces

      interface Caseless

      interface Caseless {}

        method del

        del: (name: KeyType) => boolean;

          method get

          get: (name: KeyType) => ValueType | undefined;

            method has

            has: (name: KeyType) => KeyType | false;

              method set

              set: {
              (name: KeyType, value: ValueType, clobber?: boolean): KeyType | false;
              (dict: object): void;
              };

                method swap

                swap: (name: KeyType) => void;

                  interface Httpified

                  interface Httpified {}

                    property headers

                    headers: RawDict;

                      method getHeader

                      getHeader: (name: KeyType) => ValueType | undefined;

                        method hasHeader

                        hasHeader: (name: KeyType) => KeyType | false;

                          method removeHeader

                          removeHeader: (name: KeyType) => boolean;

                            method setHeader

                            setHeader: {
                            (name: KeyType, value: ValueType, clobber?: boolean): KeyType | false;
                            (dict: object): void;
                            };

                              Package Files (1)

                              Dependencies (0)

                              No dependencies.

                              Dev Dependencies (0)

                              No dev dependencies.

                              Peer Dependencies (0)

                              No peer dependencies.

                              Badge

                              To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                              You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/caseless.

                              • Markdown
                                [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/caseless)
                              • HTML
                                <a href="https://www.jsdocs.io/package/@types/caseless"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>