2.24.3 • Published 9 months ago

appmap-node v2.24.3

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
9 months ago

appmap-node

AppMap agent for Node.js.

See the official documentation for full reference.

Usage

Simply use appmap-node in place of node command, or prepend appmap-node to your tool invocation:

$ npx appmap-node foo.js
$ npx appmap-node yarn jest
$ npx appmap-node npx ts-node foo.ts

Code Block Recording

You can run appmap-node and use the exposed API to record snippets of interest.

$ npx appmap-node foo.js

foo.js

const { record } = require("appmap-node");

const appmap = record(() => {
  hello("world");
});
// You can consume the details of the appmap object
console.log("# of events: ", appmap?.events.length);

Configuration

You can create appmap.yml config file; if not found, a default one will be created:

name: application-name  # from package.json by default
appmap_dir: tmp/appmap
language: javascript
packages:
- path: .  # paths to instrument, relative to appmap.yml location
  exclude:  # code to exclude from instrumentation
  - node_modules  # these paths are excluded by default
  - .yaml  # if you create your own config file, you probably want to add them too
  # You can also exclude methods and functions by name:
  # - functionName
  # - Klass.method
2.24.3

9 months ago

2.24.2

10 months ago

2.24.1

10 months ago

2.24.0

10 months ago

2.23.5

10 months ago

2.23.4

10 months ago

2.23.3

10 months ago

2.23.2

11 months ago

2.23.1

11 months ago

2.23.0

1 year ago

2.22.0

1 year ago

2.21.1

1 year ago

2.21.0

1 year ago

2.20.0

1 year ago

2.19.3

1 year ago

2.19.2

1 year ago

2.19.1

1 year ago

2.19.0

1 year ago

2.17.0

1 year ago

2.18.0

1 year ago

2.16.1

1 year ago

2.16.0

1 year ago

2.15.0

1 year ago

2.14.2

1 year ago

2.14.1

1 year ago

2.14.0

1 year ago

2.13.2

1 year ago

2.13.1

1 year ago

2.13.0

1 year ago

2.12.1

1 year ago

2.11.0

1 year ago

2.12.0

1 year ago

2.10.0

1 year ago

2.9.0

1 year ago

2.8.1

1 year ago

2.8.0

1 year ago

2.7.4

2 years ago

2.7.3

2 years ago

2.7.2

2 years ago

2.7.1

2 years ago

2.7.0

2 years ago

2.6.1

2 years ago

2.6.0

2 years ago

2.5.1

2 years ago

2.5.0

2 years ago

2.4.0

2 years ago

2.3.3

2 years ago

2.3.2

2 years ago

2.3.1

2 years ago

2.3.0

2 years ago

2.2.0

2 years ago

2.1.0

2 years ago

1.0.0

2 years ago