GitShow/sindresorhus/boxen
sindresorhus

boxen

Create boxes in the terminal

by sindresorhus
Star on GitHubForknpm

JavaScript

1.7k stars59 forks23 contributorsQuiet · 11mo agoSince 2015v8.0.1MIT

Meet the team

See all 23 on GitHub →
sindresorhus
sindresorhus78 contributions
Caesarovich
Caesarovich11 contributions
marcjansen
marcjansen6 contributions
nexdrew
nexdrew4 contributions
fregante
fregante3 contributions
beatfreaker
beatfreaker2 contributions
coreyfarrell
coreyfarrell2 contributions
jopemachine
jopemachine2 contributions

Languages

View on GitHub →
JavaScript95.4%
TypeScript4.6%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 4 in progress · Last activity 11mo ago
See all on GitHub →
Seyfullahkurt9
feat: add titleColor optionOpenPR

Fixes #99. Description Adds the \ itleColor\ option allowing users to specify a custom color for the box title independently of \orderColor\. Changes Updated TypeScript definitions in \index.d.ts\ with \ itleColor\ property. Added \ itleColor\ validation and styling in \index.js\. Added AVA unit test and snapshot in \ ests/title-option.js\. Verification Ran \ px ava\ and \ px tsd\ — 85 tests passed with 0 type errors.

Seyfullahkurt9 · 1w ago
marcospassos
Table border wrongly formattedOpenIssue

When printing items with colors, the border gets wrongly rendered: Is there any workaround for this? PS: I'm using Chalk for the text coloring.

marcospassos · 1mo ago
apaleslimghost
don't trim wrapped linesOpenPR

unwrapped/before/after: !Screenshot 2024-04-22 at 18 17 12

apaleslimghost · 10mo ago

Recent fixes

View closed PRs →
theluckystrike
docs(index.js): add JSDoc comments to boxen functionMergedPR

What Adds comprehensive JSDoc documentation to the boxen module. Why Improves developer experience by providing clear documentation for the API surface. JSDoc comments help IDEs provide autocomplete and make the codebase more maintainable. How Added module-level @module documentation Added BoxenOptions typedef with all available options documented Added JSDoc to main boxen function with @param and @returns Added JSDoc to terminalColumns helper function Testing All 84 existing tests pass ✅

theluckystrike · 5mo ago
rmhaiderali
Slice title properly when using ANSI escapes and fixed widthMergedPR

!Screenshot_20250528-231323~2

rmhaiderali · 6mo ago
bluwy
Duplicated `string-width` dependency due to `ansi-align`ClosedIssue

Hi, I was checking the dependencies in and I noticed as is still using an old version of , there was duplicated dependencies within it. https://npmgraph.js.org/?q=boxen@8.0.1 It doesn't look like ansi-align is maintained anymore according to https://github.com/nexdrew/ansi-align/issues/99. Do you have contact with the repo author, or are you open to forking the package into this repo? (happy to help PR that) I also don't mind if you prefer to fork as a separate package and use it.

bluwy · 9mo ago
Structured data for AI agents

Repository: sindresorhus/boxen. Description: Create boxes in the terminal Stars: 1675, Forks: 59. Primary language: JavaScript. Languages: JavaScript (95.4%), TypeScript (4.6%). License: MIT. Latest release: v8.0.1 (2y ago). Open PRs: 4, open issues: 5. Last activity: 11mo ago. Community health: 85%. Top contributors: sindresorhus, Caesarovich, marcjansen, nexdrew, fregante, beatfreaker, coreyfarrell, jopemachine, aichholzer, develar and others.

·@ofershap

Replace github.com with gitshow.dev