UNPKG

@crowdin/app-project-module

Version:

Module that generates for you all common endpoints for serving standalone Crowdin App

5 lines (4 loc) 387 B
import { Express, Request, Response, NextFunction } from 'express'; import { Config, UnauthorizedConfig } from '../types'; export declare function autoCredentialsMaskerMiddleware(config: Config | UnauthorizedConfig): (req: Request, res: Response, next: NextFunction) => any; export declare function registerAutoCredentialsMasker(app: Express, config: Config | UnauthorizedConfig): void;