معرفی شرکت ها


@types/serve-index-1.9.1


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

TypeScript definitions for serve-index
ویژگی مقدار
سیستم عامل -
نام فایل @types/serve-index-1.9.1
نام @types/serve-index
نسخه کتابخانه 1.9.1
نگهدارنده ['types']
ایمیل نگهدارنده ['ts-npm-types@microsoft.com']
نویسنده -
ایمیل نویسنده -
آدرس صفحه اصلی https://github.com/DefinitelyTyped/DefinitelyTyped.git
آدرس اینترنتی https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/serve-index
مجوز MIT
# Installation > `npm install --save @types/serve-index` # Summary This package contains type definitions for serve-index (https://github.com/expressjs/serve-index). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/serve-index. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/serve-index/index.d.ts) ````ts // Type definitions for serve-index 1.9 // Project: https://github.com/expressjs/serve-index // Definitions by: Tanguy Krotoff <https://github.com/tkrotoff> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped import { Handler } from 'express'; import { Stats } from 'fs'; /** Serves pages that contain directory listings for a given path. */ declare function serveIndex(path: string, options?: serveIndex.Options): Handler; declare namespace serveIndex { interface File { name: string; stat: Stats; } interface Locals { directory: string; displayIcons: boolean; fileList: File[]; name: string; stat: Stats; path: string; style: string; viewName: string; } type TemplateCallback = (error: Error | null, htmlString?: string) => void; interface Options { filter?: ((filename: string, index: number, files: File[], dir: string) => boolean) | undefined; hidden?: boolean | undefined; icons?: boolean | undefined; stylesheet?: string | undefined; template?: string | ((locals: Locals, callback: TemplateCallback) => void) | undefined; view?: string | undefined; } } export = serveIndex; ```` ### Additional Details * Last updated: Tue, 06 Jul 2021 16:34:37 GMT * Dependencies: [@types/express](https://npmjs.com/package/@types/express) * Global values: none # Credits These definitions were written by [Tanguy Krotoff](https://github.com/tkrotoff).


نیازمندی

مقدار نام
* @types/express


نحوه نصب


نصب پکیج tgz @types/serve-index-1.9.1:

    npm install @types/serve-index-1.9.1.tgz