
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
inkr-core is a zero-dependency, TypeScript-first library for richly stylized, colourized terminal output. Designed for clarity, flexibility, and performance.
npm install inkr-core
import inkr from "inkr";
// Simple usage
console.log(inkr.style().colour("red").text("Red text"));
// Background and combined styles
console.log(
inkr
.style()
.colour("white")
.bgColour("blue")
.weight("bold")
.underline("single")
.text("Styled text")
);
// RGB colours
console.log(inkr.style().colour([255, 128, 0]).text("Orange RGB text"));
const error = inkr.style().colour("red").weight("bold");
console.log(error.text("Error: Operation failed"));
// another way
const success = inkr
.configure({
colour: "green",
weight: "bold",
})
.style();
console.log(success.text("Server is running on port:8000"));
console.log(
inkr.style().colour("red").text("Error: ") +
inkr.style().colour("yellow").text("Details here.")
);
| Method | Function |
|---|---|
style() | Start a new style chain |
colour(value) | Set text colour (name or [r,g,b] array) |
bgColour(value) | Set background colour (name or [r,g,b] array) |
weight(value) | Set text weight: 'bold', 'dim', 'normal' |
underline(value) | Apply underline: 'single', 'double', 'none' |
text(content) | Apply styles to a string |
inkr-core ensures beautiful output, adapts to your terminal, and keeps your CLI code elegant.
License: MIT
FAQs
CLI colorizing tool for styled terminal output
We found that inkr-core demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.