Complete residential site build with Docker Compose & Gitea Actions deployment

This commit is contained in:
CalebLewallen
2026-05-13 17:31:20 -04:00
parent f9c4e13a50
commit 3c22823f72
19354 changed files with 2097331 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
import Scanner from '@emmetio/scanner';
export interface AttributeToken {
name: string;
value?: string;
nameStart: number;
nameEnd: number;
valueStart?: number;
valueEnd?: number;
}
/**
* Parses given string as list of HTML attributes.
* @param src A fragment to parse. If `name` argument is provided, it must be an
* opening tag (`<a foo="bar">`), otherwise it should be a fragment between element
* name and tag closing angle (`foo="bar"`)
* @param name Tag name
*/
export default function attributes(src: string, name?: string): AttributeToken[];
/**
* Consumes attribute name from given scanner context
*/
export declare function attributeName(scanner: Scanner): boolean;
/**
* Consumes attribute value
*/
export declare function attributeValue(scanner: Scanner): true | undefined;
/**
* Returns clean (unquoted) value of `name` attribute
*/
export declare function getAttributeValue(attrs: AttributeToken[], name: string): string | undefined;