Giter VIP home page Giter VIP logo

coolsole's Introduction

Coolsole

Description

Make your console output more pretty.
console.log with colored font & cool-askii-faces.
Funny face will say/inform/yell/shout with your message.

Install

yarn add coolsole
npm install --save coolsole

Import

import coolsole from 'coolsole'
const coolsole = require('coolsole')

Usage

coolsole.log("just String");
coolsole.info("arrays", {1: "with", 2: "Object"});
coolsole.warn([1, 2, 3]);
coolsole.warn("or", "arrays", "okay");
coolsole.error({1: "and Object", 2: "should be okay"});

Output

node

node

browser

browser

Author

[email protected]

License

MIT

coolsole's People

Contributors

devjiro76 avatar

Stargazers

thing9999 avatar  avatar jason.hello (제이슨 / Jusung Hwang) avatar Jeewhan avatar Taewoong Moon avatar

Watchers

James Cloos avatar

Forkers

inhong-cho

coolsole's Issues

Is coolsole still alive?

Cool quote:

"Very little is needed to make a happy life; it is all within yourself, in your way of thinking." _ Marcus Aurelius

Using Universal Module Define(UMD)

The current project uses the isNode() method to distinguish between the browser and the node environment. UMD makes it easier to support AMD, Commonjs, and nodejs environments.

Also, if you do not have a project that requires bundling, it is more efficient to use only babel.

sadsole

coolsole is completely dead, it's now a sadsole

should be changed

1. in "src/index.js"
if (global) should changed to if (!isNode()).

2. in "package.json"
describe about dist file.

(should be check)

  1. call console[method] with binding

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.