Installation
npm install --save @types/pangu
Summary
This package contains type definitions for pangu (https://github.com/vinta/pangu.js).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pangu.
index.d.ts
export function spacing(text: string): string;
export function spacingFile(path: string, callback: (error: Error, data: string) => void): void;
export function spacingFile(path: string): Promise<string>;
export function spacingFileSync(path: string): string;
export function spacingText(text: string, callback: (error: Error, data: string) => void): void;
export function spacingText(text: string): Promise<string>;
export function spacingNode(contextNode: HTMLElement): void;
export function spacingElementById(id: string): void;
export function spacingElementByClassName(className: string): void;
export function spacingElementByTagName(tagName: string): void;
export function spacingPageTitle(): void;
export function spacingPageBody(): void;
export function spacingPage(): void;
export function autoSpacingPage(pageDelay?: number, nodeDelay?: number, nodeMaxWait?: number): void;
export as namespace pangu;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none