{"_id":"@types/typography","_rev":"380862","name":"@types/typography","description":"TypeScript definitions for typography","dist-tags":{"latest":"0.16.4","ts2.2":"0.16.3","ts2.3":"0.16.3","ts2.4":"0.16.3","ts2.5":"0.16.3","ts2.6":"0.16.3","ts2.7":"0.16.3","ts2.8":"0.16.3","ts2.9":"0.16.3","ts3.0":"0.16.3","ts3.1":"0.16.3","ts3.2":"0.16.3","ts3.3":"0.16.3","ts3.4":"0.16.3","ts3.5":"0.16.3","ts3.6":"0.16.4","ts3.7":"0.16.4","ts3.8":"0.16.4","ts3.9":"0.16.4","ts4.0":"0.16.4","ts4.1":"0.16.4","ts4.2":"0.16.4","ts4.3":"0.16.4","ts4.4":"0.16.4","ts4.5":"0.16.4","ts4.6":"0.16.4","ts4.7":"0.16.4","ts4.8":"0.16.4","ts4.9":"0.16.4"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2022-09-06T17:52:30.000Z","created":"2018-09-10T23:44:55.763Z","0.16.4":"2021-07-02T19:56:17.896Z","0.16.3":"2019-09-04T22:22:13.506Z","0.16.2":"2019-01-07T16:47:03.568Z","0.16.1":"2018-12-20T16:26:42.146Z","0.16.0":"2018-09-10T23:44:55.763Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/typography"},"versions":{"0.16.4":{"name":"@types/typography","version":"0.16.4","description":"TypeScript definitions for typography","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/typography","license":"MIT","contributors":[{"name":"Boye","url":"https://github.com/boyeborg","githubUsername":"boyeborg"},{"name":"Krzysztof Żuraw","url":"https://github.com/krzysztofzuraw","githubUsername":"krzysztofzuraw"},{"name":"Dominic Fallows","url":"https://github.com/dominicfallows","githubUsername":"dominicfallows"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/typography"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"56fa2a744848dee8ca31b415112677bd48b074e5598ef5c24fc7db46e8b1bcef","typeScriptVersion":"3.6","_id":"@types/typography@0.16.4","dist":{"shasum":"ef7e46c6143c869ea78368605e663b3be0a99046","size":2131,"noattachment":false,"key":"/@types/typography/-/@types/typography-0.16.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/typography/download/@types/typography-0.16.4.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typography_0.16.4_1625255777741_0.834781027989308"},"_hasShrinkwrap":false,"publish_time":1625255777896,"_cnpm_publish_time":1625255777896},"0.16.3":{"name":"@types/typography","version":"0.16.3","description":"TypeScript definitions for typography","license":"MIT","contributors":[{"name":"Boye","url":"https://github.com/boyeborg","githubUsername":"boyeborg"},{"name":"Krzysztof Żuraw","url":"https://github.com/krzysztofzuraw","githubUsername":"krzysztofzuraw"},{"name":"Dominic Fallows","url":"https://github.com/dominicfallows","githubUsername":"dominicfallows"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/typography"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"d4327f46f391038638ac8a629f7d3933cb146dddfa267c832b900741edc066e0","typeScriptVersion":"2.2","_id":"@types/typography@0.16.3","dist":{"shasum":"a237ed8b6ffa5d647491d4e681f2f37a87bfbd65","size":2025,"noattachment":false,"key":"/@types/typography/-/@types/typography-0.16.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/typography/download/@types/typography-0.16.3.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typography_0.16.3_1567635733358_0.39428480999910653"},"_hasShrinkwrap":false,"publish_time":1567635733506,"_cnpm_publish_time":1567635733506},"0.16.2":{"name":"@types/typography","version":"0.16.2","description":"TypeScript definitions for typography","license":"MIT","contributors":[{"name":"Boye","url":"https://github.com/boyeborg","githubUsername":"boyeborg"},{"name":"Krzysztof Żuraw","url":"https://github.com/krzysztofzuraw","githubUsername":"krzysztofzuraw"},{"name":"Dominic Fallows","url":"https://github.com/dominicfallows","githubUsername":"dominicfallows"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"bb715a36df72ccd1f6ecb71027cb51d97606a8c089370e0c3a812d4018c04f74","typeScriptVersion":"2.2","_id":"@types/typography@0.16.2","dist":{"shasum":"dfe68caf692185e1b84d9e583b44953b03b7d135","size":2012,"noattachment":false,"key":"/@types/typography/-/@types/typography-0.16.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/typography/download/@types/typography-0.16.2.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typography_0.16.2_1546879623473_0.23447560829836722"},"_hasShrinkwrap":false,"publish_time":1546879623568,"_cnpm_publish_time":1546879623568},"0.16.1":{"name":"@types/typography","version":"0.16.1","description":"TypeScript definitions for typography","license":"MIT","contributors":[{"name":"Boye","url":"https://github.com/boyeborg","githubUsername":"boyeborg"},{"name":"Krzysztof Żuraw","url":"https://github.com/krzysztofzuraw","githubUsername":"krzysztofzuraw"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"312ffbee55e0bafec3aa2b6a2a5165b0a60c730cdde54f944dc664045e1c6881","typeScriptVersion":"2.2","_id":"@types/typography@0.16.1","dist":{"shasum":"b063d6f8611e5c63180528a863d288bf0f197c51","size":1975,"noattachment":false,"key":"/@types/typography/-/@types/typography-0.16.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/typography/download/@types/typography-0.16.1.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typography_0.16.1_1545323202016_0.6223385254176417"},"_hasShrinkwrap":false,"publish_time":1545323202146,"_cnpm_publish_time":1545323202146},"0.16.0":{"name":"@types/typography","version":"0.16.0","description":"TypeScript definitions for typography","license":"MIT","contributors":[{"name":"Boye","url":"https://github.com/boyeborg","githubUsername":"boyeborg"}],"main":"","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"62b1899c2cb7dc9477832c4135751323dea5d3389c3ce3ab12a265adb1ed86e6","typeScriptVersion":"2.2","_id":"@types/typography@0.16.0","dist":{"shasum":"820b1ba908354fc75fe34fafeed5f3d78a96184f","size":1869,"noattachment":false,"key":"/@types/typography/-/@types/typography-0.16.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/typography/download/@types/typography-0.16.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typography_0.16.0_1536623095623_0.472499194813764"},"_hasShrinkwrap":false,"publish_time":1536623095763,"_cnpm_publish_time":1536623095763}},"readme":"# Installation\r\n> `npm install --save @types/typography`\r\n\r\n# Summary\r\nThis package contains type definitions for typography (https://github.com/KyleAMathews/typography.js).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/typography.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/typography/index.d.ts)\r\n````ts\r\n// Type definitions for typography 0.16\n// Project: https://github.com/KyleAMathews/typography.js\n// Definitions by: Boye <https://github.com/boyeborg>\n//                 Krzysztof Żuraw <https://github.com/krzysztofzuraw>\n//                 Dominic Fallows <https://github.com/dominicfallows>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n// TypeScript Version: 2.2\n\nexport interface BaseLine {\n    fontSize: string;\n    lineHeight: string;\n}\n\nexport interface VerticalRhythm {\n    rhythm: (value: number) => string;\n    scale: (value: number) => BaseLine;\n    adjustFontSizeTo: (value?: number | string) => object;\n    linesForFontSize: (fontSize: number) => number;\n    establishBaseline: () => BaseLine;\n}\n\nexport interface GoogleFont {\n    name: string;\n    styles: string[];\n}\n\nexport interface TypographyOptions {\n    baseFontSize?: string | undefined;\n    baseLineHeight?: number | undefined;\n    scaleRatio?: number | undefined;\n    googleFonts?: GoogleFont[] | undefined;\n    headerFontFamily?: string[] | undefined;\n    headerLineHeight?: number | undefined;\n    bodyFontFamily?: string[] | undefined;\n    headerColor?: string | undefined;\n    bodyColor?: string | undefined;\n    headerWeight?: number | string | undefined;\n    bodyWeight?: number | string | undefined;\n    boldWeight?: number | string | undefined;\n    blockMarginBottom?: number | undefined;\n    includeNormalize?: boolean | undefined;\n    overrideStyles?: ((\n        VerticalRhythm: VerticalRhythm,\n        options: TypographyOptions,\n        styles: any\n    ) => object) | undefined;\n    overrideThemeStyles?: ((\n        VerticalRhythm: VerticalRhythm,\n        options: TypographyOptions,\n        styles: any\n    ) => object) | undefined;\n    plugins?: any[] | undefined;\n}\n\ndeclare class Typography {\n    constructor(opts: TypographyOptions);\n    options: TypographyOptions;\n    createStyles(): string;\n    toJSON(): object;\n    injectStyles(): void;\n    rhythm: VerticalRhythm[\"rhythm\"];\n    scale: VerticalRhythm[\"scale\"];\n    adjustFontSizeTo: VerticalRhythm[\"adjustFontSizeTo\"];\n    linesForFontSize: VerticalRhythm[\"linesForFontSize\"];\n    establishBaseline: VerticalRhythm[\"establishBaseline\"];\n}\n\nexport default Typography;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Fri, 02 Jul 2021 19:37:29 GMT\r\n * Dependencies: none\r\n * Global values: none\r\n\r\n# Credits\r\nThese definitions were written by [Boye](https://github.com/boyeborg), [Krzysztof Żuraw](https://github.com/krzysztofzuraw), and [Dominic Fallows](https://github.com/dominicfallows).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/typography","license":"MIT"}