Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

formatStyle

import { formatStyle } from "https://raw.githubusercontent.com/Hatscat/MetavaScript/main/index.ts";

format style in CSS format

@example
// returns "display:flex;justify-content:center;width:32"
formatStyle({ display: "flex", justifyContent: "center", width: 32 })
function formatStyle(style: Record<string, string | number>): string;
§
formatStyle(style: Record<string, string | number>): string
[src]

§Parameters

§
style: Record<string, string | number>
[src]

§Return Type

§
string
[src]