Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@line/headless-inspector-core

Package Overview
Dependencies
Maintainers
5
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@line/headless-inspector-core

The core implementation of Headless Inspector. The `inspector` object emits various debug events, but there is no DevTool FrontEnd.

  • 0.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.4K
decreased by-16.26%
Maintainers
5
Weekly downloads
 
Created
Source

headless-inspector-core

The core implementation of Headless Inspector. The inspector object emits various debug events, but there is no DevTool FrontEnd.

Debug Events

Debug targetEvent nameTiming
ConsoleconsoleAPIHasBeenCalledWhen console API was called
NetworknetworkRequestHasBeenMadewhen page is about to send HTTP request
NetworknetworkRequestHasSucceededWhen HTTP response is available
DOMTBDTBD
import HeadlessInspector from '@line/headless-inspector-core';

const inspector = new HeadlessInspector();
inspector.on(
  'consoleAPIHasBeenCalled',
  ({ argumentsList, type, timestamp }) => {
    // argumentsList: ["hoge"]
    // type: "log"
  }
);
inspector.enable();

console.log('hoge');

FAQs

Package last updated on 18 Apr 2022

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc