Righteous
CSS Code Formatter Engine that implements the Kary Coding Standards
Install / Use
/learn @pouyakary/RighteousREADME

Righteous is a modern CSS 3 formatter that implements the Kary Coding Standard for CSS. It is a rewriting parsing parser; It reads your CSS code into an AST (abstract syntax tree) and the rewrites that AST into code. This technique allows Righteous to fully format the code based on the specification. This package is the core righteous formatter to be used within other software such as Righteous for Visual Studio Code and similar software.
<br>How Does It Look?

Usage?
Installation:
$ npm install righteous-core --save
And then ready to use:
const righteous =
require( 'righteous-core' )
const code =
"h1 { color: red }"
try {
const formattedCode = righteous( code )
} catch ( e ) {
console.error( "Righteous could not format the code because of" , e )
}
The .d.ts declaration file is included within the project. Your compiler must auto detect it but if it can't then use:
/node_modules/righteous/typings/righteous.d.ts
Related Skills
node-connect
351.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
