badge-urls
Version:
Helper functions to generate URLs for all badges / shields from shields.io
11 lines (10 loc) • 821 B
TypeScript
/// <reference types="node" />
import * as fs from "fs";
export declare const readFile: (path: string | number | Buffer | import("url").URL, options?: string | (fs.BaseEncodingOptions & {
flag?: string | undefined;
}) | null | undefined) => Promise<string | Buffer>;
export declare const writeFile: (path: string | number | Buffer | import("url").URL, data: string | Uint8Array | Uint8ClampedArray | Uint16Array | Uint32Array | Int8Array | Int16Array | Int32Array | Float32Array | Float64Array | DataView, options?: string | (fs.BaseEncodingOptions & {
mode?: string | number | undefined;
flag?: string | undefined;
}) | null | undefined) => Promise<void>;
export declare const mkdir: (path: fs.PathLike, options?: string | number | fs.MakeDirectoryOptions | null | undefined) => Promise<string | undefined>;