juno-js
TypeScript icon, indicating that this package has built-in type declarations

0.1.2Β β€’Β PublicΒ β€’Β Published

juno

πŸ‘©β€πŸš€ Pretty logger for Node.

installation

yarn add juno-js

usage

import { logger, globalOptions } from 'juno-js';

globalOptions.environment = 'production'; // optional, default is development

logger.info('Hi πŸ§•');
logger.info('Name πŸ‘¨β€πŸ’»', 'Cuong Tran');
logger.info('Age 🌳', '22', { layer: 'testing' }); // support defaultMeta (type DefaultMeta)
// type DefaultMeta = {
//   layer: string;
//   component: string;
//   fileName: string;
// };

license

MIT Β© Cuong Tran

Readme

Keywords

Package Sidebar

Install

npm i juno-js

Weekly Downloads

2

Version

0.1.2

License

none

Unpacked Size

6.82 kB

Total Files

9

Last publish

Collaborators

  • 103cuong