A JavaScript wrapper for the CSS in SQL Transpiler (cssql), which allows users to write CSS using SQL-like DDL syntax (CREATE SELECTOR, INSERT, MERGE, etc.) that is then transpiled into standard CSS. The transpiler itself is written in Haskell and distributed via GHCJS. Version 1.0.2 is the latest stable release. This package is a novelty/educational project that intentionally makes CSS more verbose and less readable. It provides a Node API with a single function `cssql(inputFile, outputFile)`. Not recommended for production use.
npm install node-cssqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage: create a .cssql file, then transpile it to .css using the cssql function.
Do not use in production; consider using standard CSS or a preprocessor like SASS.
Be aware of large node_modules size; evaluate if this is acceptable.
Use const { cssql } = require('node-cssql'); instead of import.Run 'npm install node-cssql' in your project root.
Use const { cssql } = require('node-cssql');Use require() or convert your project to CommonJS.
No dependency data recorded yet.