{"versions":{"1.8.0":{"name":"@types/html-to-docx","version":"1.8.0","license":"MIT","_id":"@types/html-to-docx@1.8.0","maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"contributors":[{"url":"https://github.com/DefinitelyTyped","name":"M. Nabil Rady","githubUsername":"DefinitelyTyped"}],"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/html-to-docx","dist":{"shasum":"102476cc9edfc3cfb206b2678bae5deea3a77154","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/html-to-docx/-/html-to-docx-1.8.0.tgz","fileCount":5,"integrity":"sha512-z1sP0XmOGfxChBP5s4bzhaAjaOqlQ3hRKol8diGQG3vYvJF231t/xYT43Mo3q/MzKYzhfCEkN8l40dn4qHdjYg==","signatures":[{"sig":"MEUCIASKioq+kj58LTqBD+hcQs/VGpt28ioFBHW6UaK6XkbUAiEA5FPF+LZOALy93q6kUTnUE1V2IsI0PRWOBls46xvSNaU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6158,"size":2121},"main":"","types":"index.d.ts","scripts":{},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"repository":{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","type":"git","directory":"types/html-to-docx"},"description":"TypeScript definitions for html-to-docx","directories":{},"dependencies":{"@types/node":"*"},"_hasShrinkwrap":false,"peerDependencies":{},"typeScriptVersion":"5.0","_npmOperationalInternal":{"tmp":"tmp/html-to-docx_1.8.0_1737707718933_0.6597978236384767","host":"s3://npm-registry-packages-npm-production"},"typesPublisherContentHash":"5bd7a20339de12d5e5502e0410b3b2a63bf106ef7b31dbdf143dc0fdff8a4a77","_cnpmcore_publish_time":"2025-01-24T08:35:19.101Z","publish_time":1737707719101,"_source_registry_name":"default"}},"dist-tags":{"latest":"1.8.0","ts5.0":"1.8.0","ts5.1":"1.8.0","ts5.2":"1.8.0","ts5.3":"1.8.0","ts5.4":"1.8.0","ts5.5":"1.8.0","ts5.6":"1.8.0","ts5.7":"1.8.0","ts5.8":"1.8.0","ts5.9":"1.8.0","ts6.0":"1.8.0"},"name":"@types/html-to-docx","time":{"created":"2025-02-23T07:02:15.485Z","modified":"2025-08-03T06:58:36.244Z","1.8.0":"2025-01-24T08:35:19.101Z"},"readme":"# Installation\r\n> `npm install --save @types/html-to-docx`\r\n\r\n# Summary\r\nThis package contains type definitions for html-to-docx (https://github.com/privateOmega/html-to-docx#readme).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/html-to-docx.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/html-to-docx/index.d.ts)\r\n````ts\r\n/// <reference types=\"node\" />\n\ndeclare namespace HtmlToDocx {\n    interface Margins {\n        top?: number;\n        right?: number;\n        bottom?: number;\n        left?: number;\n        header?: number;\n        fotter?: number;\n        gutter?: number;\n    }\n\n    interface PageSize {\n        width?: number;\n        height?: number;\n    }\n\n    interface Row {\n        cantSplit?: boolean;\n    }\n\n    interface Table {\n        row?: Row;\n    }\n\n    interface LineNumberOptions {\n        start: number;\n        countBy: number;\n        restart: \"continuous\" | \"newPage\" | \"newSection\";\n    }\n\n    interface DocumentOptions {\n        orientation?: \"portrait\" | \"landscape\";\n        pageSize?: PageSize;\n        margins?: Margins;\n        title?: string;\n        subject?: string;\n        creator?: string;\n        keywords?: string[];\n        lastModifiedBy?: string;\n        revision?: number;\n        createdAt?: Date;\n        modifiedAt?: Date;\n        headerType?: \"default\" | \"first\" | \"even\";\n        footerType?: \"default\" | \"first\" | \"even\";\n        footer?: boolean;\n        font?: string;\n        fontSize?: number;\n        complexScriptFontSize?: number;\n        table?: Table;\n        pageNumber?: boolean;\n        skipFirstHeaderFooter?: boolean;\n        lineNumber?: boolean;\n        lineNumberOptions?: LineNumberOptions;\n        numbering?: {\n            defaultOrderedListStyleType?: string;\n        };\n        decodeUnicode?: boolean;\n        lang?: string;\n    }\n}\n\ndeclare function HtmlToDocx(\n    htmlString: string,\n    headerHTMLstring?: string | null,\n    documentOptions?: HtmlToDocx.DocumentOptions,\n    footerHtmlString?: string | null,\n): Promise<ArrayBuffer> | Promise<Blob>;\n\nexport = HtmlToDocx;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Fri, 24 Jan 2025 08:35:18 GMT\r\n * Dependencies: [@types/node](https://npmjs.com/package/@types/node)\r\n\r\n# Credits\r\nThese definitions were written by [M. Nabil Rady](https://github.com/DefinitelyTyped).","users":{}}