0.3.6 • Published 6 months ago
@types/page-icon v0.3.6
Installation
npm install --save @types/page-icon
Summary
This package contains type definitions for page-icon (https://github.com/jiahaog/page-icon).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/page-icon.
index.d.ts
// Type definitions for page-icon 0.3.0
// Project: https://github.com/jiahaog/page-icon
// Definitions by: rhysd <https://rhysd.github.io>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
declare namespace PageIcon {
interface Icon {
source: string;
name: string;
data: Buffer;
size: number;
ext: string;
mime: string;
}
interface FetchOptions {
ext?: string | undefined;
}
}
declare module "page-icon" {
const mod: (url: string, opts?: PageIcon.FetchOptions) => Promise<PageIcon.Icon>;
export = mod;
}
Additional Details
- Last updated: Thu, 08 Jul 2021 20:19:15 GMT
- Dependencies: @types/node
- Global values: none
Credits
These definitions were written by rhysd.