open-index/open-npm huggingface dataset:
npm package: @scout_apm/scout-apm
Description: Scout APM Node Agent
Author: vados-scout
Latest version: 0.2.3

# Scout APM NodeJS クライアント #

[Scout](https://www.scoutapp.com)はNodeJSのアプリのパーフォーマンすを監視するツールです。インストールするとメトリック、リクエスト速度、トランスアクションのデータを`@scout_apm/scout-apm`で収集して、文責出来ます。

## 必須

[NodeJS](https://nodejs.org) バージョン:
- 10+

Scout APM は下記に書いてあるフレームワークと簡単に使えます:
- [ExpressJS](https://expressjs.com) 4.x

## セットアップ

__Scoutのアカウントが必要です。[Scoutサインアップ](https://apm.scoutapp.com/users/sign_up).__

## インストール

`npm`で`@scout_apm/scout-apm`をインストール出来ます:

```shell
$ npm install @scout_apm/scout-apm
```

## `@scout_apm/scout-apm` と [`express`](https://expressjs.com/)

Scoutは`express`のアプリケーションミドルウェアでと簡単にリクエストをトレース出来ます:

```javascript
const express = require("express");
const app = express();
const scout = require("@scout_apm/scout-apm").expressMiddleware;

// ミドルウェアをインストール
app.use(scout());

// ルート設定
app.get('/', function (req, res) {
  res.send('hello, world!')
})
```

設定についての情報は`docs/configuration.md`に書いてます。

## 他のフレームワークやライブラリーと`@scout_apm/scout-apm` ##

他のフレームワークやライブラリーをトレースするために`Promise`のAPIが使えます:

```javascript
const Scout = require("@scout_apm/scout-apm").Scout;
const scout = new Scout();

// Scoutオブジェクトのセットアップ
scout.setup()
    .then(scout => {
        // リクエスト開始
        return scout.startRequest()
            .then(scoutRequest => {
                // タスク実行
                return bigHeavyTaskThatReturnsAPromise()
                    // リクエスト終了
                    .then(() => scoutRequest.finishAndSend());
            });
    });
});
```

他の実例は`docs/cookbook.md`に書いてます。
アーキテクチャについて `docs/architecture.md`をご覧になってください。

## 開発

`@scout_apm/scout-apm`を開発したい方は,下記に書いてるコマンドを実行してください:

```shell
$ make dev-setup
```

実行すると開発ための環境が作られます。`git`のフックや他の開発に便利なものはインストールされます。

`Makefile`に開発してる時に便利なコマンドも含めています:

```
$ make lint # tslint実行
$ make lint-watch # 継続的にtslint実行

$ make build # tsc(タイプスクリプトのコンパイラ)実行
$ make build-watch # 継続的にtsc実行
```

開発について`docs/development.md`をご覧になってください。

## 寄付 / 開発応援

`@scout_apm/scout-apm`の開発に参加手引き:

0. リポジトリーをクローン(`git clone`)
1. `make dev-setup` でローカル環境セットアップ
2. `make build` でプロジェクトをビルド
3. コードを書く
4. `make test`でテスト実行(テストについては`docs/tests.md`を読んでください)
5. PR(プールリクエスト)を作る

## ドキュメント

インストールとかトラブルシューティングのドキュメントは[Scoutのヘルプサイ](http://help.apm.scoutapp.com/#nodejs-client)にあります。

## サポート

`@scout_apm/scout-apm`に問題が発生したら:

- [issueを作成してください](https://github.com/scoutapp/scout_apm_node/issues/new)
- メールでScoutを連絡してください: [support@scoutapp.com](mailto://support@scoutapp.com)
npm package: @scout_apm/wizard
Description: Scout Wizard
Author: Scout Monitoring
Latest version: 2026.3.20

# Scout Wizard

The Scout Wizard help you add the Scout Monitoring MPC (Model Context Protocol) configuration to your preferred agentic coding platform.

> **Early Stage** This wizard is considered pre-release, and thus its functionality is limited to setup of the Scout MCP. Eventually, this wizard will facilitate setup and configuration of the full Scout Monitoring suite of tools.

## Usage

To use the wizard, run it directly using

```bash
npx @scout_apm/wizard
```

## Platform Support

Currently, this wizard support setting up the Scout MCP for the following platforms:

- Cursor
- Claude Code (CLI)
- Claude Desktop (Windows or Mac)

## Scout Monitoring

[Scout](https://www.scoutapm.com/) is a hassle-free monitoring platform offering an extensive and approachable suite of tools solutions designed to make your development life easier. Check us out at https://scoutapm.com

## Local

Run `npm run prepare` to setup pre-commit hooks via [lefthook](https://github.com/evilmartians/lefthook) which will verify the style. Run `npm run stylize` to write changes.
npm package: @scouterna/scoutnet
Description: API client for the Scoutnet API.
Author: Malcolm Nihlén
Latest version: 0.3.24

# Scoutnet Node.js API Client

This is an API client for the Scoutnet API developed and maintained by
[Scouternas e-tjänster](https://etjanster.scout.se/). It is automatically
generated from the
[Scoutnet OpenAPI document](https://github.com/Scouterna/scoutnet-api/blob/main/packages/scoutnet-openapi/schema/scoutnet.yaml).

The client uses [openapi-typescript](https://openapi-ts.dev/introduction) and
[openapi-fetch](https://openapi-ts.dev/openapi-fetch/) under the hood. This NPM
package exports all types generated by openapi-typescript as well as a modified
version of the `createClient` method from openapi-fetch. This means that you can
use just the types if you need to build something very custom. For complete
usage instructions, check out their documentation.

## Installation

The client is available on NPM:

```bash
npm i @scouterna/scoutnet
```

## Usage

### Creating the client

You must always start by creating an instance of the API client. This ensures
all requests will be fully type safe.

```ts
import { createClient } from '@scouterna/scoutnet'

const client = createClient();
```

You can pass options when creating the client that will apply to all requests.
For example, you might want to use a different server during development.

```ts
const client = createClient({
  baseUrl: 'https://s1.test.custard.no/api'
});
```

### Making requests

When making requests you provide the endpoint you want to call, and the types
are automatically inferred. Because all endpoints in the Scoutnet API have
unique access keys this is also where you set the Authorization header.

```ts
const result = await client.GET("/project/get/participants", {
  headers: {
    Authorization: createAuthorizationHeader({
      resourceId: '12345',
      key: '80vn4...n724',
    }),
  },
});

if ('error' in result) {
  // Handle the error properly
  throw new Error(`Request failed with status code ${result.response.status}`);
}

console.log(data.participants);
//               ^ Access fully typed properties
```

There are two important notes to be made here.

First, make sure to use `if ('error' in result)` to check if there is an error
as in the example above and not just `if (result.error)`. Since Scoutnet returns
an empty body on errors such as 401 the latter will pass even though there is an
error.

Second, often times you will receive multiple levels of data. Consider the
following simplified example of a response:
```json
{
  "first_name": "Janne",
  "last_name": "Långben",
  "contact_info": {
    "1": "0701 23 45 67"
  }
}
```

As you can see the `contact_info` property contains an object of arbitrary data.
If we instead imagine there was no contact info the response would look like
this:
```json
{
  "first_name": "Janne",
  "last_name": "Långben",
  "contact_info": []
}
```

Notice how `contact_info` suddenly became an empty array. This is a quirk of the
Scoutnet API that happens every time there is an empty object and you will have
to handle it accordingly. The return type of the API methods should help you
catch these cases.