1.2.0 • Published 6 months ago

ng-web-console v1.2.0

Weekly downloads
-
License
-
Repository
-
Last release
6 months ago

NgWebConsole

All Contributors

npm.io npm.io

Display console.log statements in your web page.

Table of Contents generated with DocToc

Installation

npm install ng-web-console

Usage

  1. Register the console providers:
import { provideNgWebConsole} from "ng-web-console";

// inside your app module or app component
providers: [
    provideNgWebConsole()
]
  1. Add the console component to the imports array of your module or component:
import { NgWebConsoleComponent } from "ng-web-console";

// inside your app module or app component
imports: [
    NgWebConsoleComponent
]
  1. Start using the console component in your template:
<ng-web-console/>
  1. Start logging:
// use console.log somewhere in your codebase 
console.log("Hello World");

Contributors ✨

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

1.2.0

6 months ago

1.1.0

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago