1.1.2 • Published 9 months ago

@drcode.ai/drcode-node v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

const config = { publicKey: 'yourPublicKey', projectId: 'yourProjectId', tracesSampleRate: 1.0, // optional profilesSampleRate: 1.0 // optional };

// Initialize drcode-wrapper initDrcode(config);

// Express.js example for setting up error handler const app = express();

app.use(setUpErrorHandler);

app.listen(3000, () => { console.log('Server is running on port 3000'); });

publicKey: string; projectId: string; tracesSampleRate?: number; profilesSampleRate?: number; }

export function initDrcode(config: DrCodeConfig): void;

export function setUpErrorHandler( err: Error, req: any, res: any, next: any ): void;

1.1.2

9 months ago

1.1.1

9 months ago

1.1.0

9 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.4

10 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago