A compiler that parses GSS (Grid Style Sheets) rule strings into JSON AST format for execution by the GSS engine. Version 0.8.2 is the latest stable release; the project appears dormant with no recent releases or maintenance. GSS is a constraint-based layout system for the web, offering an alternative to CSS for complex layouts using constraint solving. The compiler outputs a JSON AST that the GSS engine uses to compute layout changes in the browser. This differentiates it from traditional CSS preprocessors by enabling real-time layout adjustments based on constraints.
npm install gss-compilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates compiling a simple GSS rule string to JSON AST.
Consider using CSS Grid Layout or other modern layout solutions instead of GSS.
Create a .d.ts file: declare module 'gss-compiler' { export function compile(gss: string): any; }Use require('gss-compiler').compile for compatibility.Run npm install gss-compiler
Use const compile = require('gss-compiler').compile;Check the GSS documentation for valid syntax. Ensure using a recent version of the compiler.
No dependency data recorded yet.