npmplus-mcp-server
Version:
Production-ready MCP server for intelligent JavaScript package management. Works with Claude, Windsurf, Cursor, VS Code, and any MCP-compatible AI editor.
13 lines • 537 B
TypeScript
export declare const analytics: {
trackToolUsage: any;
getSummary: any;
getPopularPackages: any;
isAnalyticsEnabled: any;
};
/**
* Middleware to wrap a handler with analytics tracking for Express/Netlify functions.
* @param toolName - The name of the tool being tracked.
* @returns A function that wraps the handler and tracks analytics.
*/
export declare function withAnalytics(toolName: string, packageName?: string): (handler: Function, req: any, res?: any) => Promise<any>;
//# sourceMappingURL=analytics.d.ts.map