UNPKG

og-images-generator

Version:

Generate OG images from a static folder and / or a middleware. Extract metadata from HTML pages. No headless browser involved. Comes as a CLI, API or plugins.

89 lines 2.58 kB
/** * @license * Julian Cataldo * SPDX-License-Identifier: ISC */ /** * Useful for tricking various languages IDE extensions. * * For syntax highlighting, formatting with Prettier, static analysis… * * This will just do string concatenation, plus auto-joining if a string array * is provided inside a template interpolation. * * @title Dummy literals * @returns {string} * */ export function dummyLiteral(templateStrings: TemplateStringsArray, ...args: (string | string[])[]): string; /** * @license * Julian Cataldo * SPDX-License-Identifier: ISC */ /** * Useful for tricking various languages IDE extensions. * * For syntax highlighting, formatting with Prettier, static analysis… * * This will just do string concatenation, plus auto-joining if a string array * is provided inside a template interpolation. * * @title Dummy literals * @returns {string} * */ export function js(templateStrings: TemplateStringsArray, ...args: (string | string[])[]): string; /** * @license * Julian Cataldo * SPDX-License-Identifier: ISC */ /** * Useful for tricking various languages IDE extensions. * * For syntax highlighting, formatting with Prettier, static analysis… * * This will just do string concatenation, plus auto-joining if a string array * is provided inside a template interpolation. * * @title Dummy literals * @returns {string} * */ export function md(templateStrings: TemplateStringsArray, ...args: (string | string[])[]): string; /** * @license * Julian Cataldo * SPDX-License-Identifier: ISC */ /** * Useful for tricking various languages IDE extensions. * * For syntax highlighting, formatting with Prettier, static analysis… * * This will just do string concatenation, plus auto-joining if a string array * is provided inside a template interpolation. * * @title Dummy literals * @returns {string} * */ export function html(templateStrings: TemplateStringsArray, ...args: (string | string[])[]): string; /** * @license * Julian Cataldo * SPDX-License-Identifier: ISC */ /** * Useful for tricking various languages IDE extensions. * * For syntax highlighting, formatting with Prettier, static analysis… * * This will just do string concatenation, plus auto-joining if a string array * is provided inside a template interpolation. * * @title Dummy literals * @returns {string} * */ export function css(templateStrings: TemplateStringsArray, ...args: (string | string[])[]): string; export namespace styled { export { dummyLiteral as div }; } //# sourceMappingURL=dummy-literals.d.ts.map