Port of wcsc.exe to JavaScript for transpiling WeChat .wxss files to CSS. Version 1.0.6 (last updated ~2018) compiles lists of .wxss files to CSS strings via Node.js. Lightweight alternative to wcc/wcsc native binaries, works cross-platform (macOS, Linux, Windows). No active maintenance or release cadence; last commit ~7 years ago.
npm install wxss-transpilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Transpile a list of .wxss file paths into compiled CSS strings using CommonJS.
Consider using @wechat-miniprogram/wxss-compiler or official tools.
Use require() instead of import.
Provide explicit file paths in array.
Use const transpile = require('wxss-transpiler')Run npm i wxss-transpiler and ensure node_modules contains it.
Use absolute paths or ensure current working directory matches.
No dependency data recorded yet.