console-info

console.info

MIT 5 个版本
安装
npm install console-info
yarn add console-info
pnpm add console-info
bun add console-info
README

console.info :

console-info demo

  • The purpose of this module is not to give many options for logging , it is just give you lightweight the missing API of console : which is here console.info.

  • No need documentation, because console.info takes the same arguments as console.log . However console.info will be displayed on terminal like below.

Install :

npm install console-info --save;

How to use :

require('console-info');
// or in babel: import info from 'console-info';

console.info(new Date()); // log time now
console.info({firstname: "Abdesslem", age:32}) ; // log Object
console.info(new Date,[4, 65, 9], {a:"b"}); // I told you : it is like console.log

Related modules :

Use also :

npm install console-warn --save;
npm install console-error --save;
版本列表
0.0.5 2016-12-06
0.0.4 2016-11-12
0.0.3 2016-11-11
0.0.2 2016-11-11
0.0.1 2016-11-11