4.1.3 • Published 7 months ago

@types/create-html v4.1.3

Weekly downloads
62
License
MIT
Repository
github
Last release
7 months ago

Installation

npm install --save @types/create-html

Summary

This package contains type definitions for create-html (https://github.com/sethvincent/create-html#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/create-html.

index.d.ts

// Type definitions for create-html 4.1
// Project: https://github.com/sethvincent/create-html#readme
// Definitions by: Ciarán Ingle <https://github.com/inglec-arista>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

declare function createHtml(opts: {
    /** Content to insert into <body> tag. */
    body?: string | undefined;
    /** CSS filename. */
    css?: string | string[] | undefined;
    /** Add async attribute to CSS tag. */
    cssAsync?: string | string[] | undefined;
    /** Direction of content. */
    dir?: string | undefined;
    /** Site favicon. */
    favicon?: string | undefined;
    /** Content to insert into <head> tag. */
    head?: string | undefined;
    /** Language of content. */
    lang?: string | undefined;
    /** JavaScript filename. */
    script?: string | string[] | undefined;
    /** Add async attribute to script tag. */
    scriptAsync?: boolean | undefined;
    /** Page title. */
    title?: string | undefined;
}): string;

export = createHtml;

Additional Details

  • Last updated: Thu, 08 Jul 2021 09:08:19 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Ciarán Ingle.