2.1.3 • Published 1 year ago

@rjweb/sentry v2.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@rjweb/sentry

Easy and Lightweight Web Server Library

šŸ  Homepage šŸ” Documentation

lines of code files

Disclaimer

This Package is intended to be used in the backend.

  • āœ”ļø ESM
  • āœ”ļø CJS
  • āœ”ļø Typescript

Install

npm install @rjweb/sentry
yarn add @rjweb/sentry
pnpm install @rjweb/sentry
bun install @rjweb/sentry

Usage

Initialize

import { Server } from "rjweb-server"
import { Runtime } from "@rjweb/runtime-node"
import { sentry } from "@rjweb/sentry"

const server = new Server(Runtime, {
  port: 8000
}, [
  sentry.use({
    environment: 'production',
    dsn: 'https://hmmm@hmmm.ingest.sentry.io/hmmm',
    tracesSampleRate: 0.1
  }) // config is just the default node sentry sdk's config
])

// ...

Author

šŸ‘¤ 0x7d8

Show your support

Give a Star if this project helped you!

šŸ“ License

Copyright Ā© 2023 0x7d8. This project is MIT licensed.

2.1.3

1 year ago

2.1.2

1 year ago

2.1.1

1 year ago

2.1.0

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.1

2 years ago

1.0.0

2 years ago