2.21.1 • Published 2 days ago

appmap-node v2.21.1

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
2 days 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
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.21.1

2 days ago

2.21.0

13 days ago

2.20.0

19 days ago

2.19.3

1 month ago

2.19.2

1 month ago

2.19.1

2 months ago

2.19.0

2 months ago

2.17.0

2 months ago

2.18.0

2 months ago

2.16.1

2 months ago

2.16.0

2 months ago

2.15.0

3 months ago

2.14.2

3 months ago

2.14.1

3 months ago

2.14.0

3 months ago

2.13.2

4 months ago

2.13.1

4 months ago

2.13.0

4 months ago

2.12.1

4 months ago

2.11.0

4 months ago

2.12.0

4 months ago

2.10.0

5 months ago

2.9.0

5 months ago

2.8.1

5 months ago

2.8.0

5 months ago

2.7.4

5 months ago

2.7.3

5 months ago

2.7.2

5 months ago

2.7.1

5 months ago

2.7.0

5 months ago

2.6.1

5 months ago

2.6.0

5 months ago

2.5.1

5 months ago

2.5.0

5 months ago

2.4.0

6 months ago

2.3.3

6 months ago

2.3.2

6 months ago

2.3.1

6 months ago

2.3.0

6 months ago

2.2.0

6 months ago

2.1.0

6 months ago

1.0.0

6 months ago