You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

ng-web-console

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-web-console

<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --> [![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-) <!-- ALL-CONTRIBUTORS-BADGE:END -->

1.2.0
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

NgWebConsole

All Contributors

Display console.log statements in your web page.

Table of Contents generated with DocToc

Installation

npm install ng-web-console

Usage

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

// inside your app module or app component
providers: [
    provideNgWebConsole()
]
  • 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
]
  • Start using the console component in your template:
<ng-web-console/>
  • Start logging:
// use console.log somewhere in your codebase 
console.log("Hello World");

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Nivek
Nivek

💻 📖 💡 🤔 🚇 🚧
Tayamba Mwanza
Tayamba Mwanza

🤔
Add your contributions

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

FAQs

Package last updated on 14 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts