open-index/open-npm huggingface dataset:
npm package: @insigniaswap/eslint-config-insignia
Description: Eslint config for InsigniaSwap
Author: uberific
Latest version: 1.0.0

# eslint-config-isignia

Insignia Eslint config with:

- Airbnb config
- Typescript
- Prettier

## Usage

```
npx install-peerdeps --dev @insigniaswap/eslint-config-insignia
```

Add `"extends": "@insigniaswap/eslint-config-insignia"` to your eslint config file.
npm package: @insigniaswap/uikit
Description: Set of UI components for insignia projects
Latest version: 1.5.0

# 🥞 Pancake UIkit

[![Version](https://img.shields.io/npm/v/@insigniaswap-libs/uikit)](https://www.npmjs.com/package/@insigniaswap-libs/uikit) [![Size](https://img.shields.io/bundlephobia/min/@insigniaswap-libs/uikit)](https://www.npmjs.com/package/@insigniaswap-libs/uikit)

Pancake UIkit is a set of React components and hooks used to build pages on Pancake's apps. It also contains a theme file for dark and light mode.

## Install

`yarn add @insigniaswap-libs/uikit`

## Setup

### Theme

Before using Pancake UIkit, you need to provide the theme file to styled-component.

```
import { ThemeProvider } from 'styled-components'
import { light, dark } from '@insigniaswap-libs/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>
```

### Reset

A reset CSS is available as a global styled component.

```
import { ResetCSS } from '@insigniaswap-libs/uikit'
...
<ResetCSS />
```

### Types

This project is built with Typescript and export all the relevant types.

## How to use the UIkit

If you want to use components from the UIkit, check the [Storybook documentation](https://pancakeswap.github.io/insignia-uikit/)
npm package: @insihts/js
Description: Insihts - SDK for building advanced user onboarding tours. Supports no-code or in-code flows. With advanced features like Wait or Conditional steps to create the ultimate onboarding tour, boosting product adoption. Optimize user journey, increase engageme
Latest version: 0.0.1

# Insihts 1.0 JavaScript SDK

## Documentation

Visit [https://docs.insihts.com](https://docs.insihts.com) for full documentation.
npm package: @insihts/node
Description: Node client for Insihts
Latest version: 1.0.1

# @insihts/node

## Installation

```shell
npm install @insihts/node
```

## Usage

```javascript
import insihts from '@insihts/node';

insihts.init({
  websiteId: '31238599-94ad-4bec-a265-f409ab07f075', // Your website id
});

insihts.track({ url: '/home' });
```

The properties you can send using the `.track` function are:

- hostname: Hostname of server
- language: Client language (eg. en-US)
- referrer: Page referrer
- screen: Screen dimensions (eg. 1920x1080)
- title: Page title
- url: Page url
- name: Event name (for custom events)
- data: Event data properties
npm package: @insitusec/python-struct
Description: Packs/Unpacks/Measures structs according to Python's `struct` format
Author: Daniel Cohen Gindi
Latest version: 1.1.1

# python-struct

[![npm Version](https://badge.fury.io/js/python-struct.png)](https://npmjs.org/package/python-struct)

Packs/Unpacks/Measures structs according to Python's `struct` format

## Installation:

```
npm install --save python-struct
```
  
## Usage example:

```javascript

const struct = require('python-struct');

struct.sizeOf('>iixxQ10sb'); // --> 29

struct.pack('>iixxQ10sb', [1234, 5678, require('long').fromString('12345678901234567890'), 'abcdefg', true]); // --> <Buffer 00 00 04 d2 00 00 16 2e 00 00 ab 54 a9 8c eb 1f 0a d2 61 62 63 64 65 66 67 00 00 00 01>

struct.unpack('>iixxQ10sb', Buffer.from('000004d20000162e0000ab54a98ceb1f0ad26162636465666700000001', 'hex')); // --> [ 1234, 5678, 12345678901234567890, 'abcdefg', 1 ]

```

## Usage in the browser

The `"browser"` entry in `package.json` will automatically redirect to the browser adapter for the package.  
*But* you'll have to `npm i buffer` in your project.

## Notes

When using "native" size & alignment, we do not really have a way to find the native size of alignment of types.  
But it's almost always safe to assume that `node_adapter.js` is compiled for the standard architectures, so `native` behaves like `standard`.

If anyone stumbles across a different case, I'll be happy to review it on that specific instance, and figure out what to do.

## Contributing

If you have anything to contribute, or functionality that you lack - you are more than welcome to participate in this!
If anyone wishes to contribute unit tests - that also would be great :-)

## Me
* Hi! I am Daniel Cohen Gindi. Or in short- Daniel.
* danielgindi@gmail.com is my email address.
* That's all you need to know.

## Help

If you want to buy me a beer, you are very welcome to
[![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=G6CELS3E997ZE)
 Thanks :-)

## License

All the code here is under MIT license. Which means you could do virtually anything with the code.
I will appreciate it very much if you keep an attribution where appropriate.

    The MIT License (MIT)

    Copyright (c) 2013 Daniel Cohen Gindi (danielgindi@gmail.com)

    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in all
    copies or substantial portions of the Software.
npm package: @inslytic/sdk-browser
Description: Browser tracking SDK for Inslytic — AI-powered product analytics
Latest version: 0.1.4

# @inslytic/sdk-browser

Browser tracking SDK for [Inslytic](https://inslytic.com) — AI-powered product analytics. ~2.5KB gzipped.

## Install

```bash
npm install @inslytic/sdk-browser
```

## Usage

```ts
import { init, track, identify, page, setConsent } from "@inslytic/sdk-browser";

// Initialize with your project API key
init({ apiKey: "your-api-key" });

// Track events
track("button_clicked", { properties: { button: "signup" } });

// Identify users
identify("user-123");

// Page views are tracked automatically — no manual calls needed

// Set consent (required before data is stored)
setConsent(true);
```

## Configuration

```ts
init({
  apiKey: "your-api-key",
  endpoint: "https://api.inslytic.com", // default
  flushInterval: 2000,                  // batch flush interval in ms
  maxBatchSize: 20,                     // max events per batch
  debug: false,                         // enable debug logging
  autoPageTracking: true,               // auto-track page views (default: true)
});
```

## API

| Function | Description |
|---|---|
| `init(config)` | Initialize the SDK |
| `track(event, options?)` | Track a custom event |
| `identify(userId, traits?)` | Associate events with a user |
| `page(properties?)` | Manually track a page view (automatic by default) |
| `setConsent(granted)` | Set user consent status |
| `reset()` | Clear user identity and stop tracking |

## License

MIT
npm package: @inslytic/sdk-node
Description: Node.js server-side SDK for Inslytic — AI-powered product analytics
Latest version: 0.1.3

# @inslytic/sdk-node

Node.js server-side SDK for [Inslytic](https://inslytic.com) — AI-powered product analytics.

## Install

```bash
npm install @inslytic/sdk-node
```

Requires Node.js 18+.

## Usage

```ts
import { InslyticNode } from "@inslytic/sdk-node";

const inslytic = new InslyticNode({ apiKey: "your-api-key" });

// Track events
inslytic.track({
  eventName: "subscription_created",
  userId: "user-123",
  anonymousId: "anon-456",
  properties: { plan: "pro" },
});

// Identify users
inslytic.identify("user-123");

// Flush pending events and shut down gracefully
await inslytic.shutdown();
```

## Configuration

```ts
const inslytic = new InslyticNode({
  apiKey: "your-api-key",
  endpoint: "https://api.inslytic.com", // default
  flushInterval: 10000,                 // batch flush interval in ms
  maxBatchSize: 20,                     // max events per batch
  maxRetries: 3,                        // retry attempts on failure
});
```

## API

| Method | Description |
|---|---|
| `track(event)` | Track a server-side event |
| `identify(userId, traits?)` | Track an identify event |
| `flush()` | Flush all queued events |
| `shutdown()` | Flush and stop the SDK |
| `pending` | Number of queued events |

The SDK automatically flushes on `SIGTERM` and `SIGINT` for graceful shutdown.

## License

MIT
npm package: @inslytic/sdk-react
Description: React hooks and components for Inslytic — AI-powered product analytics
Latest version: 0.1.4

# @inslytic/sdk-react

React hooks and components for [Inslytic](https://inslytic.com) — AI-powered product analytics.

## Install

```bash
npm install @inslytic/sdk-react
```

Requires React 18+.

## Usage

Wrap your app with `InslyticProvider`:

```tsx
import { InslyticProvider } from "@inslytic/sdk-react";

function App() {
  return (
    <InslyticProvider config={{ apiKey: "your-api-key" }}>
      <YourApp />
    </InslyticProvider>
  );
}
```

Page views are tracked automatically — no manual setup needed.

Then use the `useInslytic` hook in any component:

```tsx
import { useInslytic } from "@inslytic/sdk-react";

function SignupButton() {
  const { track } = useInslytic();

  return (
    <button onClick={() => track("signup_clicked")}>
      Sign up
    </button>
  );
}
```

## API

The `useInslytic` hook returns all functions from `@inslytic/sdk-browser`:

| Function | Description |
|---|---|
| `track(event, options?)` | Track a custom event |
| `identify(userId, traits?)` | Associate events with a user |
| `page(properties?)` | Manually track a page view (automatic by default) |
| `setConsent(granted)` | Set user consent status |
| `reset()` | Clear user identity and stop tracking |

## License

MIT
npm package: @inso_web/els-react
Description: React‑обёртка для Error Logs Service (ELS): Provider, hooks, ErrorBoundary и HOC для автоматического репорта ошибок компонентов.
Author: INSOWEB
Latest version: 0.3.0

# @inso_web/els-react

[![npm version](https://img.shields.io/npm/v/@inso_web/els-react.svg)](https://www.npmjs.com/package/@inso_web/els-react)
[![npm downloads](https://img.shields.io/npm/dm/@inso_web/els-react.svg)](https://www.npmjs.com/package/@inso_web/els-react)
[![bundle size](https://img.shields.io/bundlephobia/minzip/@inso_web/els-react)](https://bundlephobia.com/package/@inso_web/els-react)
[![TypeScript](https://img.shields.io/badge/TypeScript-strict-blue.svg)](https://www.typescriptlang.org/)
[![license MIT](https://img.shields.io/npm/l/@inso_web/els-react.svg)](./LICENSE)

React‑обёртка для [`@inso_web/els-client`](https://www.npmjs.com/package/@inso_web/els-client): Provider, hooks и ErrorBoundary для автоматического сбора ошибок в React 17+.

## Фичи

- `ELSProvider` — инициализация клиента и очереди
- `useELS()` — доступ к клиенту
- `useErrorReporter()` — хук для ручного репорта ошибок
- `ELSErrorBoundary` — ловит исключения в дереве и отправляет в ELS
- `withErrorReporting(Component)` — HOC
- Авто‑подписка на `window.onerror` и `unhandledrejection`

## Quick Start

```bash
npm install @inso_web/els-react @inso_web/els-client
```

```tsx
import { ELSProvider, ELSErrorBoundary, useErrorReporter } from '@inso_web/els-react';

function App() {
  return (
    <ELSProvider config={{
      endpoint: 'https://api.insoweb.ru/els',
      apiKey: import.meta.env.VITE_ELS_KEY,
      appSlug: 'my-app',
      deploymentEnv: 'PRODUCTION',
    }}>
      <ELSErrorBoundary fallback={<div>Что‑то пошло не так</div>}>
        <MyApp />
      </ELSErrorBoundary>
    </ELSProvider>
  );
}

function MyComponent() {
  const report = useErrorReporter();
  return <button onClick={() => report(new Error('manual'))}>report</button>;
}
```

## API

```ts
<ELSProvider
  config={ELSConfig}
  useQueue={boolean}             // default true
  flushIntervalMs={number}
  maxBatchSize={number}
  captureGlobalErrors={boolean}  // default true
/>

useELS(): { client, queue }
useErrorReporter(): (err, extra?) => void
<ELSErrorBoundary fallback={...} onError={(err, info) => ...} />
withErrorReporting(Component, boundaryProps?)
```

## Examples

Runnable примеры: [`./examples/`](./examples/)

- `vite-react` — Vite + React 18 + TypeScript starter

## License

[MIT](./LICENSE) © INSOWEB
npm package: @inso_web/els-vue
Description: Vue 3 plugin для Error Logs Service (ELS): глобальный errorHandler, composable useELS и автоматический репорт ошибок компонентов.
Author: INSOWEB
Latest version: 0.3.0

# @inso_web/els-vue

[![npm version](https://img.shields.io/npm/v/@inso_web/els-vue.svg)](https://www.npmjs.com/package/@inso_web/els-vue)
[![npm downloads](https://img.shields.io/npm/dm/@inso_web/els-vue.svg)](https://www.npmjs.com/package/@inso_web/els-vue)
[![bundle size](https://img.shields.io/bundlephobia/minzip/@inso_web/els-vue)](https://bundlephobia.com/package/@inso_web/els-vue)
[![TypeScript](https://img.shields.io/badge/TypeScript-strict-blue.svg)](https://www.typescriptlang.org/)
[![license MIT](https://img.shields.io/npm/l/@inso_web/els-vue.svg)](./LICENSE)

Vue 3 plugin для [`@inso_web/els-client`](https://www.npmjs.com/package/@inso_web/els-client): глобальный `app.config.errorHandler`, composable `useELS()` и авто‑подписка на `window.onerror`/`unhandledrejection`.

## Фичи

- `app.use(ELSPlugin, { config })` — одна строка установки
- Подключается к `app.config.errorHandler`
- `useELS()` — composable, возвращает `{ client, queue, report }`
- Авто‑подписка на глобальные ошибки браузера
- TypeScript strict, ESM + CJS

## Quick Start

```bash
npm install @inso_web/els-vue @inso_web/els-client
```

```ts
// main.ts
import { createApp } from 'vue';
import { ELSPlugin } from '@inso_web/els-vue';
import App from './App.vue';

const app = createApp(App);

app.use(ELSPlugin, {
  config: {
    endpoint: 'https://api.insoweb.ru/els',
    apiKey: import.meta.env.VITE_ELS_KEY,
    appSlug: 'my-app',
    deploymentEnv: 'PRODUCTION',
  },
});

app.mount('#app');
```

```vue
<script setup lang="ts">
import { useELS } from '@inso_web/els-vue';
const { report } = useELS();

function onClick() {
  try {
    riskyCode();
  } catch (e) {
    report(e);
  }
}
</script>
```

## API

```ts
app.use(ELSPlugin, {
  config: ELSConfig,
  useQueue?: boolean,             // default true
  flushIntervalMs?: number,
  maxBatchSize?: number,
  captureGlobalErrors?: boolean,  // default true
});

useELS(): { client, queue, report(err, extra?) }
```

## Examples

Runnable примеры: [`./examples/`](./examples/)

- `vite-vue` — Vite + Vue 3 + TypeScript starter

## License

[MIT](./LICENSE) © INSOWEB
npm package: @insomnia-dev/miscord
Description: Facebook Messenger to Discord bridge
Author: ptrcnull
Latest version: 5.1.2

# @insomnia-dev/miscord

A fork of [miscord](https://github.com/miscord/miscord) that is built with all of the latest changes in the official repo. The original has not had a published version in over a year and some changes since then should be included.

![banner](https://miscord.net/img/banner.png)

> Built on [libfb](https://github.com/ChatPlug/libfb-js) and [discord.js](https://discord.js.org)

**[Website](https://miscord.net/)** &nbsp;
**[Donate](https://paypal.me/Bjornskjald)** &nbsp;
**[FAQ](https://docs.miscord.net/faq)** &nbsp;

# :memo: Documentation

**See the guide/docs [here](https://docs.miscord.net)**

# :heart: Contributors

This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].
<a href="https://github.com/miscord/miscord/graphs/contributors"><img src="https://opencollective.com/miscord/contributors.svg?width=890&button=false" /></a>

# :scroll: License

This project is licensed under the MIT License - see the [LICENSE](LICENSE.md) file for details.

# :warning: Disclaimer

We do not guarantee that this bridge will work correctly. We are not responsible for getting banned on any services integrated with Miscord. Use at your own discretion.  
All product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.  
Facebook and the Facebook logo are trademarks or registered trademarks of Facebook, Inc., used under license agreement.
npm package: @insoutt/react-simple-form
Description: Build react dynamic forms using JSON format
Author: insoutt
Latest version: 1.0.3


# react-simple-form

react-simple-form is a component to build Forms in react in a simple way.


## Installation

Install react-simple-form with:

```bash
  npm install react-simple-form
  yarn add react-simple-form
```


## Usage/Examples

```typescript
import { FieldProps, Form } from "@insoutt/react-simple-form";
import {useState} from "react";


interface IForm {
    email: string
    password: string
}

function required(value: string | number) {
    return value.toString().length > 0 || 'Required field'
}

const formSchema: FieldProps<IForm>[] = [
    {
        name: 'email',
        type: 'email',
        label: 'E-mail',
        validation: required,
    },
    {
        name: 'password',
        type: 'password',
        label: 'Password',
        validation: required,
    },
];

function App() {
    const [isLoading, setIsLoading] = useState(false);

    const onSubmit = ({email, password}: IForm) => {
        // Submit logic
    }
    return (
        <Form<IForm>
            classNames={{
                submitButton: 'btn btn-secondary',
            }}
            hideClearButton
            isLoading={loading}
            onSubmit={onSubmit}
            fields={formSchema}
        />
    )
}
```

### License
This project is licensed under the [MIT license](https://github.com/insoutt/react-simple-form/blob/master/LICENSE).
npm package: @insp/rdev-js-win32-arm64-msvc
Description: This is the **aarch64-pc-windows-msvc** binary for `@insp/rdev-js`
Latest version: 0.0.2

# `@insp/rdev-js-win32-arm64-msvc`

This is the **aarch64-pc-windows-msvc** binary for `@insp/rdev-js`
npm package: @insp/rdev-js-win32-ia32-msvc
Description: This is the **i686-pc-windows-msvc** binary for `@insp/rdev-js`
Latest version: 0.0.2

# `@insp/rdev-js-win32-ia32-msvc`

This is the **i686-pc-windows-msvc** binary for `@insp/rdev-js`
npm package: @insp/rdev-js-win32-x64-msvc
Description: This is the **x86_64-pc-windows-msvc** binary for `@insp/rdev-js`
Latest version: 0.0.2

# `@insp/rdev-js-win32-x64-msvc`

This is the **x86_64-pc-windows-msvc** binary for `@insp/rdev-js`
npm package: @insp/sys-info-win32-arm64-msvc
Description: This is the **aarch64-pc-windows-msvc** binary for `@insp/sys-info`
Latest version: 0.0.8

# `@insp/sys-info-win32-arm64-msvc`

This is the **aarch64-pc-windows-msvc** binary for `@insp/sys-info`
npm package: @insp/sys-info-win32-ia32-msvc
Description: This is the **i686-pc-windows-msvc** binary for `@insp/sys-info`
Latest version: 0.0.8

# `@insp/sys-info-win32-ia32-msvc`

This is the **i686-pc-windows-msvc** binary for `@insp/sys-info`
npm package: @insp/sys-info-win32-x64-msvc
Description: This is the **x86_64-pc-windows-msvc** binary for `@insp/sys-info`
Latest version: 0.0.8

# `@insp/sys-info-win32-x64-msvc`

This is the **x86_64-pc-windows-msvc** binary for `@insp/sys-info`
npm package: @inspecto-dev/core
Description: Core browser runtime and server logic for Inspecto
Author: Inspecto Contributors
Latest version: 0.3.4

# @inspecto-dev/core

`@inspecto-dev/core` is the browser runtime for Inspecto.

## Overview

This package focuses on the browser-side runtime:

1. **Browser Client**: A native Web Component (`<inspecto-overlay>`) utilizing Shadow DOM for style isolation. It captures DOM clicks, parses the injected source location attributes (`data-inspecto`), and provides the interactive UI menu.
2. **Prompt Assembly**: Builds inspect and annotate payloads in the browser, including optional runtime, screenshot, CSS, and snippet context.

The local development server, snippet extraction, and IDE dispatch runtime live in `@inspecto-dev/plugin`.

## Core Implementation

- **Web Component**: Implemented with pure native DOM APIs and `goober` for CSS-in-JS inside the Shadow DOM, ensuring zero framework dependency and avoiding conflicts with user styles.
- **Intent System**: Defines the default AI actions (Explain, Fix Bug, Code Review, etc.) and handles prompting.
- **Context Assembly**: Requests optional snippet/runtime/screenshot context and appends it to the outgoing prompt.
- **Overlay Runtime**: Mounts and configures the browser overlay via `mountInspector()` / `unmountInspector()`.

## Modes

- `Inspect mode`: single-target inspect and immediate actions.
- `Annotate mode`: multi-target annotation, sidebar queueing, and batch AI dispatch.

Use inspect when you want to act on one element immediately. Use annotate when one problem spans multiple linked components.
npm package: @inspecto-dev/plugin
Description: Universal build tools plugin (Vite, Webpack, Rspack, Rollup, Esbuild) for Inspecto
Author: Inspecto Contributors
Latest version: 0.3.4

# @inspecto-dev/plugin

`@inspecto-dev/plugin` provides the universal build tools plugin for Inspecto.

## Overview

Powered by `unplugin`, this package supports Vite, Webpack, Rspack, and Rollup. It handles AST manipulation at build-time to inject source location metadata into DOM elements, allowing the browser client to trace elements back to their original source code.

## Supported Environment

### UI Frameworks

| Framework | Supported Versions | Notes                                                             |
| :-------- | :----------------- | :---------------------------------------------------------------- |
| React     | >= 16.8.0          | Supported via JSX/TSX AST transformation.                         |
| Vue       | >= 3.0.0           | Supported via Vue SFC compiler. Vue 2 is currently not supported. |

### Build Tools

| Build Tool | Supported Versions | Notes                                                                                 |
| :--------- | :----------------- | :------------------------------------------------------------------------------------ |
| Vite       | >= 2.0.0           | Full support with automatic client injection.                                         |
| Webpack    | >= 4.0.0           | Full support for both Webpack 4 and Webpack 5.                                        |
| Rspack     | >= 0.1.0           | Full support.                                                                         |
| Rollup     | >= 2.0.0           | Build-time injection supported. Client needs manual initialization (see main README). |
| esbuild    | >= 0.14.0          | Build-time injection supported. Client needs manual initialization.                   |

## Core Implementation

- **AST Transformation**: Uses Babel (`@babel/parser`, `@babel/traverse`) for React and `@vue/compiler-sfc` for Vue to parse source files.
- **Source Injection**: Utilizes `MagicString` to reliably inject `data-inspecto="filepath:line:column"` attributes onto HTML elements without breaking source maps.
- **Local Server Lifecycle**: Starts the Inspecto local HTTP server during development from the plugin package itself. Cleanup is handled on process exit rather than in `buildEnd`, which keeps watch mode working across bundlers.
- **Client Injection**: Automatically injects global variables (like `__AI_INSPECTOR_PORT__`) into the client bundle to allow the browser component to discover the local server port.
npm package: @inspecto-dev/types
Description: Shared TypeScript definitions for the Inspecto monorepo
Author: Inspecto Contributors
Latest version: 0.3.4

# @inspecto-dev/types

`@inspecto-dev/types` contains all shared TypeScript definitions for the Inspecto monorepo.

## Overview

This package serves as the single source of truth for all types and interfaces used across the Inspecto ecosystem, ensuring strict type safety between the build plugin, local server, browser client, and IDE extension.

## Core Implementation

- **Protocol Types**: Defines the request/response shapes for the local HTTP server (`OpenFileRequest`, `SnippetResponse`, `SendToAiRequest`).
- **Configuration Types**: Defines the user configuration structure (`InspectoSettings`, `UnpluginOptions`, `InspectorOptions`).
- **Domain Models**: Contains definitions for AI targets (`Provider`), tool modes (`ProviderMode`), and IDE types (`IdeType`).
- **Constants**: Provides shared constants like `DEFAULT_INTENTS` and tool mode mappings to keep behavior consistent across packages.
npm package: @inspector-apm/inspector-adonisjs
Description: Code Execution Monitoring for Adonisjs applications.
Author: Valerio Barbera
Latest version: 1.0.27

# Inspector - Code Execution Monitoring

## Install
Install the latest version from npm:

```
npm i --save @inspector-apm/inspector-adonisjs
```

## Configure
Run the command below to connect dependencies:

```
node ace invoke @inspector-apm/inspector-adonisjs
```

## Usage
The first thing to do is to configure the `INSPECTOR_INGESTION_KEY` in your `.env` file to enable data transfer
from your application to Inspector.

```
INSPECTOR_INGESTION_KEY=xxxxxxxxxx
```

You can get a valid key creating a new application on your [Inspector dashboard](https://app.inspector.dev).

## HTTP traffic monitoring
To enable HTTP traffic monitoring make sure to configure the `InspectorMiddleware`
as first entry inside the `start/kernel.ts` file:

```ts
Server.middleware.register([
    () => import('@ioc:Adonis/Addons/InspectorMiddleware'),
    ...,
])
```

For detailed instructions check out the official [documentation](https://docs.inspector.dev/guides/adonisjs).