Installation
npm install --save @types/babar
Summary
This package contains type definitions for babar (https://github.com/stephan83/babar#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babar.
index.d.ts
type color = "yellow" | "cyan" | "white" | "magenta" | "green" | "red" | "grey" | "blue";
interface Options {
caption?: string | undefined;
color?: color | "ascii" | undefined;
grid?: color | undefined;
width?: number | undefined;
height?: number | undefined;
xFractions?: number | undefined;
yFractions?: number | undefined;
minX?: number | undefined;
maxX?: number | undefined;
minY?: number | undefined;
maxY?: number | undefined;
}
declare function babar(points: ReadonlyArray<[number, number]>, options?: Options): string;
export = babar;
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:04 GMT
- Dependencies: none
Credits
These definitions were written by Matt Bachmann.