Package Exports
- nitro-applicationinsights
Readme
nitro-applicationinsights
Application insight plugin for Nitro
Usage
Install package:
# npm
npm install nitro-applicationinsights
# yarn
yarn add nitro-applicationinsights
# pnpm
pnpm install nitro-applicationinsights
Import:
// ESM
import applicationInsightsPlugin from "nitro-applicationinsights";
// CommonJS
const applicationInsightsPlugin = require("nitro-applicationinsights");
usage
Add the module within your nitro.config.ts
export default defineNitroConfig({
plugins: ['nitro-applicationinsights']
});
Et voilà ! You now have application insights node for Nitro
Development
- Clone this repository
- Install latest LTS version of Node.js
- Enable Corepack using
corepack enable
- Install dependencies using
pnpm install
- Run interactive tests using
pnpm dev
License
Made with 💛
Published under MIT License.