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

0.0.33 • Public • Published

Installation

npm install --save @types/htmltojsx

Summary

This package contains type definitions for htmltojsx (https://www.npmjs.com/package/htmltojsx).

Details

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

index.d.ts

declare class HTMLtoJSX {
    constructor(options?: {
        createClass?: boolean | undefined;
        outputClassName?: string | undefined;
        /** as a string e.g. '    ' or '\t' */
        indent?: string | undefined;
    });
    convert(html: string): string;
}
export = HTMLtoJSX;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Basarat Ali Syed.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/htmltojsx

Weekly Downloads

1,175

Version

0.0.33

License

MIT

Unpacked Size

3.13 kB

Total Files

5

Last publish

Collaborators

  • types