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

4.1.3 • Public • Published

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

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: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: none

Credits

These definitions were written by Ciarán Ingle.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/create-html

Weekly Downloads

102

Version

4.1.3

License

MIT

Unpacked Size

4.14 kB

Total Files

5

Last publish

Collaborators

  • types