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

@appland/appmap-agent-js

Package Overview
Dependencies
Maintainers
4
Versions
171
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appland/appmap-agent-js

  • 2.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
510
increased by63.46%
Maintainers
4
Weekly downloads
 
Created
Source

appmap-agent-js

JavaScript client agent for the AppMap framework

To install:

npm install @appland/appmap-agent-js

To run:

npx appmap-agent -- main.mjs argv0 argv1

CLI

  • --no-cjs: Disable instrumentation of commonjs modules (enabled by default).
  • --no-esm: Disable instrumentation of (native) es2015 modules (enabled by default).
  • --protocol <protocol>: Specify the communication protocol between the process that is managing the code instrumentation and the appmap and the process that is executing the instrumented code.
    • inline: Simplest but does not prevent the program under test to mess with the recording. For instance:
      • Removing hooks to write the appmap before exiting the process -- eg: process.removeAllListeners('exit').
      • Modifying the global object -- eg: global.String.prototype.substring = null.
    • messaging: Simple TCP messaging protocol (faster than http1 and http2).
    • http1
    • http2
  • --port <port>: Specify the TCP port to perform the inter-process communication. Default is 0 which assign a random port. Path to unix domain sockets are also accepted. No effect if the protocol is inline.
  • -- Everything after the standalone double dash will be used to launch the program under test.

FAQs

Package last updated on 15 Apr 2021

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