@hidoo/util-fancy-print

0.19.0 • Public • Published

@hidoo/util-fancy-print

Utility that print styled values to console.

Installation

$ npm install @hidoo/util-fancy-print

Usage

import fancyPrint from '@hidoo/util-fancy-print';

fancyPrint('project name', [
  {label: 'Host', value: '0.0.0.0'},
  {label: 'Port', value: 8000}
]);
// ++++++++++++++++++++++++++++++
//          project name
// ++++++++++++++++++++++++++++++
//
// Host: 0.0.0.0
// Port: 8000
//
// ++++++++++++++++++++++++++++++

Test

$ yarn test

License

MIT

Dependents (0)

Package Sidebar

Install

npm i @hidoo/util-fancy-print

Weekly Downloads

28

Version

0.19.0

License

MIT

Unpacked Size

9.93 kB

Total Files

5

Last publish

Collaborators

  • hidoo