
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
righteous-core
Advanced tools
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.
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
FAQs
CSS Code Formatter Engine that implements the Kary Coding Standards
The npm package righteous-core receives a total of 8 weekly downloads. As such, righteous-core popularity was classified as not popular.
We found that righteous-core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.