boxen

Create boxes in the terminal

MIT License

Downloads
48.5M
Stars
1.5K
Committers
22

Bot releases are hidden (Show)

boxen - Latest Release

Published by sindresorhus over 1 year ago

boxen -

Published by sindresorhus over 1 year ago

  • Allow border to be optional (#88) 1f9c8e2

https://github.com/sindresorhus/boxen/compare/v7.0.2...v7.1.0

boxen -

Published by sindresorhus over 1 year ago

  • Fix the Spacing TypeScript type (#86) cb31d0d

https://github.com/sindresorhus/boxen/compare/v7.0.1...v7.0.2

boxen -

Published by sindresorhus almost 2 years ago

  • Use newline as line separator in all cases (#81) a94569b

https://github.com/sindresorhus/boxen/compare/v7.0.0...v7.0.1

boxen -

Published by sindresorhus over 2 years ago

Breaking

  • Require Node.js 14 c393023

Improvements

  • Add height and fullscreen option (#75) d6b4b32

https://github.com/sindresorhus/boxen/compare/v6.2.1...v7.0.0

boxen -

Published by sindresorhus about 3 years ago

boxen -

Published by sindresorhus about 3 years ago

boxen -

Published by sindresorhus about 3 years ago

  • Change the borderStyle option in a backwards-compatible way (#69) ee66420
    While not required, we encourage you to move to this new format:
 {
 	topLeft: '+',
 	topRight: '+',
 	bottomLeft: '+',
 	bottomRight: '+',
-	horizontal: '-',
-	vertical: '|',
+	top: '-',
+	bottom: '-',
+	left: '|',
+	right: '|',
 }

https://github.com/sindresorhus/boxen/compare/v6.0.0...v6.1.0

boxen -

Published by sindresorhus about 3 years ago

Breaking

  • Require Node.js 12.20 (#67) 8747277
  • This package is now pure ESM. Please read this.

https://github.com/sindresorhus/boxen/compare/v5.1.2...v6.0.0

boxen -

Published by sindresorhus about 3 years ago

  • Don't trim whitespace in input text needlessly (#63) 760e247

https://github.com/sindresorhus/boxen/compare/v5.1.1...v5.1.2

boxen -

Published by sindresorhus about 3 years ago

boxen -

Published by sindresorhus about 3 years ago

  • Add title and titleAlignment options (#59) c50dad6

https://github.com/sindresorhus/boxen/compare/v5.0.1...v5.1.0

boxen -

Published by sindresorhus over 3 years ago

  • Fix crashes when wrapping text containing colorized content (#52) ab25c46

https://github.com/sindresorhus/boxen/compare/v5.0.0...v5.0.1

boxen -

Published by sindresorhus almost 4 years ago

Breaking

  • Require Node.js 10 0985f4d
  • Drop the TypeScript BorderStyle enum 3ff99bd
    Just use a string literal instead, like in JavaScript.

Improvements

  • Support text wrapping (#46) 14fd5c4

https://github.com/sindresorhus/boxen/compare/v4.2.0...v5.0.0

boxen -

Published by sindresorhus almost 5 years ago

boxen -

Published by sindresorhus over 5 years ago

Maintenance release to update dependencies. No user-facing changes.

https://github.com/sindresorhus/boxen/compare/v4.0.0...v4.1.0

boxen -

Published by sindresorhus over 5 years ago

Breaking:

  • Require Node.js 8 2e99867
  • Rename box style single-double to singleDouble
  • Rename box style double-single to doubleSingle

Breaking for TypeScript users:

  • Only use a CommonJS export for the TypeScript definition
    • You need to change import boxen from 'boxen'; to import boxen = require('boxen');

Enhancements:

  • Add bold box style
  • Upgrade dependencies 2e99867

https://github.com/sindresorhus/boxen/compare/v3.2.0...v4.0.0

boxen -

Published by sindresorhus over 5 years ago

boxen -

Published by sindresorhus over 5 years ago

  • Refactor TypeScript definition to CommonJS compatible export (#40) cb77ed1

https://github.com/sindresorhus/boxen/compare/v3.0.0...v3.1.0

boxen -

Published by sindresorhus over 5 years ago

Breaking:

  • {borderStyle: 'single-double'} was renamed to {borderStyle: 'singleDouble'}
  • {borderStyle: 'double-single'} was renamed to {borderStyle: 'doubleSingle'}

Other:

  • Add TypeScript definition (#39) dd85217

https://github.com/sindresorhus/boxen/compare/v2.1.0...v3.0.0