vue-unicorn-log

1.0.8 • Public • Published

Neon Bunny

Vue Unicorn Log

NPM Package   @WebDevNerdStuff

Description

A magical 🦄 plugin to make coloring the console output easier and more flexible.

Sometimes when building your application/site you don't want to see your linter complaining about using console functions. This helps to keep your linter happy so you can concentrate on writing bug free magical code.

It also has the ability to run the console functions depending on environment variables so you can keep your production site's console quiet.

Installation

Using pnpm:

pnpm add vue-unicorn-log

Using npm:

npm i vue-unicorn-log

Documentation & Examples

Documentation & Examples

Usage

import Vue from 'vue';
import UnicornLog from 'vue-unicorn-log';

Vue.use(UnicornLog);

Instance Methods

There are two instance methods available to use. $unicornLog $uniLog

Console Methods

For a description of the different log methods, refer to the Web APIs | MDN developer documentation for console.

Simple Example

this.$unicornLog({
  text: 'Hello World',
});

For more examples, see Documentation & Examples.

Dependencies

Vue 2

Change Log

CHANGELOG

License

Copyright (c) 2022 WebDevNerdStuff
Licensed under the MIT license.

LICENSE

@WebDevNerdStuff

Vue Unicorn Log by @WebDevNerdStuff

Package Sidebar

Install

npm i vue-unicorn-log

Weekly Downloads

3

Version

1.0.8

License

MIT

Unpacked Size

205 kB

Total Files

24

Last publish

Collaborators

  • webdevnerdstuff