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

3.4.3 • Public • Published

Installation

npm install --save @types/title

Summary

This package contains type definitions for title (https://github.com/vercel/title#readme).

Details

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

index.d.ts

/**
 * This package correctly capitalizes your titles as per The Chicago Manual of Style.
 * Furthermore, all of Vercel's product names are capitalized properly as well.
 */
declare function title(string: string, options?: title.Options): string;

declare namespace title {
    interface Options {
        /**
         * @default undefined
         */
        special?: string[] | undefined;
    }
}

export = title;

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by Fahad, and Piotr Błażejewicz.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/title

Weekly Downloads

90,806

Version

3.4.3

License

MIT

Unpacked Size

3.55 kB

Total Files

5

Last publish

Collaborators

  • types